Skip to content

Color

Download .md

Components ask for a role such as primary or muted-foreground, never a hex value, so the same component works in every theme.

  • background: the page ground behind cards.
  • foreground: main text.
  • card and popover: cards, menus and form surfaces.
  • muted and muted-foreground: quiet surfaces and secondary text.
  • border and input: dividers and control borders.
  • primary and primary-foreground: the main action, in the product’s logo color.
  • primary-soft and primary-text: tinted surfaces and small primary-colored text such as links.
  • ring: the keyboard focus ring.
  • sidebar-*: the dashboard sidebar.

secondary and accent keep their shadcn meaning: a quiet button fill and a hover background. Neither one is a brand color.

Tokenlokamusik-lightlokamusik-darkcoverclearance-lightcoverclearance-darklokasign-lightlokasign-darkmylokalink-lightmylokalink-darkneutral-lightneutral-dark
background#FDF9FA#1C0F16#F9F8F6#0A0D14#F3F6FB#001D43#FFFFFF#0B1620#FAFAFD#0E0E11
foreground#1C0F16#F5F5F5#181B1F#DBDEE3#001D43#EEF3FB#1C3B4E#F2F6F8#1A1A1D#E6E6EA
card#FFFFFF#26181F#FFFFFF#12161E#FFFFFF#0A2A57#FFFFFF#13212B#FFFFFF#17171A
muted#F5F5F5#2E2028#F2F0EC#1B1F29#EAF0F8#0F3466#ECF6FC#1A2B36#F2F2F6#1F1F22
muted-foreground#4A3A42#B4A7AA#625D56#A0A5AE#4A5B78#A9BAD6#657078#87939B#636366#AAAAAE
border#ECE4E6#3A2B33#ECE9E3#262B36#D5DEEC#1D4478#DCE8F1#23343F#E6E6EA#2B2B2E
input#998D90#7A6871#908F8D#5F646D#7D8FA9#5376A6#8A969E#606B72#909093#68686C
primary#660032#FF8FC6#E48725#E87F34#0060EF#7DAEFF#0A66C2#65A7F9#27272A#E4E4E7
primary-foreground#FFFFFF#660032#FFFFFF#180600#FFFFFF#001D43#FFFFFF#0B1620#FFFFFF#0D0D10
primary-soft#FFEEF6#3D001E#FFEEE1#371C0B#E6EFFE#0F3466#ECF4FF#162C47#F3F3F4#29292A
primary-text#660032#FF8FC6#A8530A#EF9F67#0050C8#7DAEFF#0A66C2#72A7EB#27272A#E4E4E7
ring#660032#FF8FC6#A8530A#E87F34#0060EF#7DAEFF#0A66C2#65A7F9#27272A#E4E4E7
card-foreground#1C0F16#F5F5F5#181B1F#DBDEE3#001D43#EEF3FB#1C3B4E#F2F6F8#1A1A1D#E6E6EA
popover#FFFFFF#26181F#FFFFFF#12161E#FFFFFF#0A2A57#FFFFFF#13212B#FFFFFF#17171A
popover-foreground#1C0F16#F5F5F5#181B1F#DBDEE3#001D43#EEF3FB#1C3B4E#F2F6F8#1A1A1D#E6E6EA
secondary#F5F5F5#2E2028#F2F0EC#1B1F29#EAF0F8#0F3466#ECF6FC#1A2B36#F2F2F6#1F1F22
secondary-foreground#1C0F16#F5F5F5#181B1F#DBDEE3#001D43#EEF3FB#1C3B4E#F2F6F8#1A1A1D#E6E6EA
accent#F5F5F5#2E2028#F2F0EC#1B1F29#EAF0F8#0F3466#ECF6FC#1A2B36#F2F2F6#1F1F22
accent-foreground#1C0F16#F5F5F5#181B1F#DBDEE3#001D43#EEF3FB#1C3B4E#F2F6F8#1A1A1D#E6E6EA
sidebar#FFFFFF#26181F#FFFFFF#12161E#FFFFFF#0A2A57#FFFFFF#13212B#FFFFFF#17171A
sidebar-foreground#1C0F16#F5F5F5#181B1F#DBDEE3#001D43#EEF3FB#1C3B4E#F2F6F8#1A1A1D#E6E6EA
sidebar-border#ECE4E6#3A2B33#ECE9E3#262B36#D5DEEC#1D4478#DCE8F1#23343F#E6E6EA#2B2B2E
sidebar-accent#FFEEF6#3D001E#FFEEE1#371C0B#E6EFFE#0F3466#ECF4FF#162C47#F3F3F4#29292A
sidebar-accent-foreground#660032#FF8FC6#A8530A#EF9F67#0050C8#7DAEFF#0A66C2#72A7EB#27272A#E4E4E7
sidebar-primary#660032#FF8FC6#E48725#E87F34#0060EF#7DAEFF#0A66C2#65A7F9#27272A#E4E4E7
sidebar-primary-foreground#FFFFFF#660032#FFFFFF#180600#FFFFFF#001D43#FFFFFF#0B1620#FFFFFF#0D0D10
sidebar-ring#660032#FF8FC6#A8530A#E87F34#0060EF#7DAEFF#0A66C2#65A7F9#27272A#E4E4E7
tenant-accent#660032#FF8FC6#E48725#E87F34#0060EF#7DAEFF#0A66C2#65A7F9#27272A#E4E4E7
tenant-accent-foreground#FFFFFF#660032#FFFFFF#180600#FFFFFF#001D43#FFFFFF#0B1620#FFFFFF#0D0D10
tenant-accent-soft#FFEEF6#3D001E#FFEEE1#371C0B#E6EFFE#0F3466#ECF4FF#162C47#F3F3F4#29292A
tenant-accent-text#660032#FF8FC6#A8530A#EF9F67#0050C8#7DAEFF#0A66C2#72A7EB#27272A#E4E4E7

Status colors are the same in every product. success, warning and destructive carry color; info is a neutral slate, so it never looks like the blue actions of Lokasign or My Loka Link. Color alone never carries a status: always pair it with a word or an icon.

TokenValueUse
success--success#0B6B5EStatus color for done, approved, published; text and icons on background, card and success-soft.
success-foreground--success-foreground#FFFFFFText on a solid success fill.
success-soft--success-soft#DDF3EFBackground of success badges and banners; text on it uses success.
warning--warning#8A4B00Status color for pending, waiting for review; text and icons on background, card and warning-soft.
warning-foreground--warning-foreground#FFFFFFText on a solid warning fill.
warning-soft--warning-soft#FFF1D6Background of warning badges and banners; text on it uses warning.
destructive--destructive#B42318Status color for errors, rejected, delete actions; text and icons on background, card and destructive-soft.
destructive-foreground--destructive-foreground#FFFFFFText on a solid destructive fill.
destructive-soft--destructive-soft#FDE7E4Background of destructive badges and banners; text on it uses destructive.
info--info#475467Neutral status for information and tips; slate so it never reads as a brand action. Text and icons on background, card and info-soft.
info-foreground--info-foreground#FFFFFFText on a solid info fill.
info-soft--info-soft#EEF1F5Background of info badges and banners; text on it uses info.
TokenValueUse
success--success#4FD1B5Status color for done, approved, published; text and icons on background, card and success-soft.
success-foreground--success-foreground#0B1620Text on a solid success fill.
success-soft--success-soft#12302BBackground of success badges and banners; text on it uses success.
warning--warning#F5B544Status color for pending, waiting for review; text and icons on background, card and warning-soft.
warning-foreground--warning-foreground#0B1620Text on a solid warning fill.
warning-soft--warning-soft#3A2C0FBackground of warning badges and banners; text on it uses warning.
destructive--destructive#FF8A75Status color for errors, rejected, delete actions; text and icons on background, card and destructive-soft.
destructive-foreground--destructive-foreground#0B1620Text on a solid destructive fill.
destructive-soft--destructive-soft#3A1A16Background of destructive badges and banners; text on it uses destructive.
info--info#B4BFCCNeutral status for information and tips; slate so it never reads as a brand action. Text and icons on background, card and info-soft.
info-foreground--info-foreground#0B1620Text on a solid info fill.
info-soft--info-soft#1E2733Background of info badges and banners; text on it uses info.

Charts use five series colors, chart-1 to chart-5, in that order. chart-1 is the product’s own hue; chart-2 to chart-5 (magenta, teal, olive, indigo) are the same in every product and never reuse a status color. Every series reaches 3:1 on background and card, and the order passes the color-blind checks for neighboring series. Cover Clearance light steps its orange down to #C2620E for chart-1, because #E48725 stays under 3:1 on its background. More than five series fold into “Lainnya”. See Chart.

TokenValueUse
chart-2--chart-2#C2185BSecond chart series (magenta); the same in every product, never a status color.
chart-3--chart-3#0087A3Third chart series (teal); the same in every product, never a status color.
chart-4--chart-4#6B7A00Fourth chart series (olive); the same in every product, never a status color.
chart-5--chart-5#5B4FCFFifth chart series (indigo); the same in every product, never a status color.
chart-1--chart-1#C2620EFirst chart series: the brand hue, stepped where needed to reach 3:1 on background and card.
TokenValueUse
chart-2--chart-2#D94E85Second chart series (magenta); the same in every product, never a status color.
chart-3--chart-3#14A3B8Third chart series (teal); the same in every product, never a status color.
chart-4--chart-4#8C9A17Fourth chart series (olive); the same in every product, never a status color.
chart-5--chart-5#7B6FE0Fifth chart series (indigo); the same in every product, never a status color.
chart-1--chart-1#C9701FFirst chart series: the brand hue, stepped where needed to reach 3:1 on background and card.

My Loka Link artist pages and Ruang Loka Musik tenants take their own accent color. Set data-tenant-accent on the page root to one of the presets below; the four tenant-accent tokens switch, and nothing else changes. Without a preset, the tenant tokens follow primary.

TokenValueUse
blue · tenant-accent--tenant-accent#0A66C2Tenant or artist accent fill; defaults to primary until a preset applies. Preset "blue", light mode.
blue · tenant-accent-foreground--tenant-accent-foreground#FFFFFFText on tenant-accent. Preset "blue", light mode.
blue · tenant-accent-soft--tenant-accent-soft#ECF4FFTinted surface in the tenant accent. Preset "blue", light mode.
blue · tenant-accent-text--tenant-accent-text#0A66C2Text in the tenant accent on background, card and tenant-accent-soft. Preset "blue", light mode.
orange · tenant-accent--tenant-accent#C4530FTenant or artist accent fill; defaults to primary until a preset applies. Preset "orange", light mode.
orange · tenant-accent-foreground--tenant-accent-foreground#FFFFFFText on tenant-accent. Preset "orange", light mode.
orange · tenant-accent-soft--tenant-accent-soft#FFEDE0Tinted surface in the tenant accent. Preset "orange", light mode.
orange · tenant-accent-text--tenant-accent-text#AB4400Text in the tenant accent on background, card and tenant-accent-soft. Preset "orange", light mode.
teal · tenant-accent--tenant-accent#007B76Tenant or artist accent fill; defaults to primary until a preset applies. Preset "teal", light mode.
teal · tenant-accent-foreground--tenant-accent-foreground#FFFFFFText on tenant-accent. Preset "teal", light mode.
teal · tenant-accent-soft--tenant-accent-soft#DCF9F6Tinted surface in the tenant accent. Preset "teal", light mode.
teal · tenant-accent-text--tenant-accent-text#006D69Text in the tenant accent on background, card and tenant-accent-soft. Preset "teal", light mode.
red · tenant-accent--tenant-accent#BE222ATenant or artist accent fill; defaults to primary until a preset applies. Preset "red", light mode.
red · tenant-accent-foreground--tenant-accent-foreground#FFFFFFText on tenant-accent. Preset "red", light mode.
red · tenant-accent-soft--tenant-accent-soft#FFECEBTinted surface in the tenant accent. Preset "red", light mode.
red · tenant-accent-text--tenant-accent-text#B32228Text in the tenant accent on background, card and tenant-accent-soft. Preset "red", light mode.
TokenValueUse
blue · tenant-accent--tenant-accent#65A7F9Tenant or artist accent fill; defaults to primary until a preset applies. Preset "blue", dark mode.
blue · tenant-accent-foreground--tenant-accent-foreground#1C3B4EText on tenant-accent. Preset "blue", dark mode.
blue · tenant-accent-soft--tenant-accent-soft#162C47Tinted surface in the tenant accent. Preset "blue", dark mode.
blue · tenant-accent-text--tenant-accent-text#72A7EBText in the tenant accent on background, card and tenant-accent-soft. Preset "blue", dark mode.
orange · tenant-accent--tenant-accent#F49752Tenant or artist accent fill; defaults to primary until a preset applies. Preset "orange", dark mode.
orange · tenant-accent-foreground--tenant-accent-foreground#241005Text on tenant-accent. Preset "orange", dark mode.
orange · tenant-accent-soft--tenant-accent-soft#3A1E0ETinted surface in the tenant accent. Preset "orange", dark mode.
orange · tenant-accent-text--tenant-accent-text#F9A870Text in the tenant accent on background, card and tenant-accent-soft. Preset "orange", dark mode.
teal · tenant-accent--tenant-accent#55CEC0Tenant or artist accent fill; defaults to primary until a preset applies. Preset "teal", dark mode.
teal · tenant-accent-foreground--tenant-accent-foreground#001C1AText on tenant-accent. Preset "teal", dark mode.
teal · tenant-accent-soft--tenant-accent-soft#092D2BTinted surface in the tenant accent. Preset "teal", dark mode.
teal · tenant-accent-text--tenant-accent-text#69D3C6Text in the tenant accent on background, card and tenant-accent-soft. Preset "teal", dark mode.
red · tenant-accent--tenant-accent#F68482Tenant or artist accent fill; defaults to primary until a preset applies. Preset "red", dark mode.
red · tenant-accent-foreground--tenant-accent-foreground#250E0DText on tenant-accent. Preset "red", dark mode.
red · tenant-accent-soft--tenant-accent-soft#3B1C1BTinted surface in the tenant accent. Preset "red", dark mode.
red · tenant-accent-text--tenant-accent-text#F99E9BText in the tenant accent on background, card and tenant-accent-soft. Preset "red", dark mode.
  • Text reaches at least 4.5:1 against the surface it sits on, in every theme and every tenant preset.
  • Focus rings and the borders of inputs, selects and checkboxes (input) reach at least 3:1.
  • A test checks every pair on each build, so a token change that breaks contrast fails the build.

One pair is a known exception: white text on Cover Clearance orange in light mode reaches 2.7:1. Cover Clearance keeps its logo color as the primary fill by owner decision. Keep labels on that fill short and bold.