#540C2A#540C2A
#540C2A is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.9% C 0.105 H 1.3°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).
Color values
| HEX | #540C2A |
|---|---|
| RGB | rgb(84, 12, 42) |
| HSL | hsl(335, 75%, 19%) |
| HSV | hsv(335, 86%, 33%) |
| CMYK | cmyk(0%, 85.7%, 50%, 67.1%) |
| CIE-LAB | lab(17.06, 34.34, 0.81) |
| CIE-LCH | lch(17.06, 34.35, 1.35°) |
| OKLab | oklab(29.88% 0.1055 0.0025) |
| OKLCH | oklch(29.88% 0.105 1.3) |
| XYZ | xyz(4.2059, 2.3155, 2.4155) |
| Luminance | 0.0232 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 5.01
Merlot
#730039
ΔE00 6.37
Maroon (survey)
#650021
ΔE00 6.60
Plum (survey)
#580F41
ΔE00 7.28
Dark Plum
#3F012C
ΔE00 7.53
Dark Maroon
#3C0008
ΔE00 8.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#540C2A #0C5436
analogous
#540C4E #540C2A #54120C
triadic
#540C2A #2A540C #0C2A54
tetradic
#540C2A #4E540C #0C5436 #120C54
square
#540C2A #4E540C #0C5436 #120C54
split-complementary
#540C2A #0C5412 #0C4E54
monochromatic
#1B040D #1E040F #540C2A #8A1445 #BF1B60
Accessibility & contrast
On white
14.35
#540C2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#540C2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #540C2A
14.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##540C2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##540C2A | 1.00 | 14.35 | 1.46 | 14.35 |
| #FFFFFF | 14.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D212B
Deuteranopia (green-blind)
#312F28
Tritanopia (blue-blind)
#5C0019
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #540c2a; /* rgb */ color: rgb(84, 12, 42); /* oklch */ color: oklch(29.9% 0.105 1.3);
Tailwind
colors: {
custom: {
50: '#885463',
500: '#540c2a',
950: '#000000',
},
}SCSS
$custom: #540c2a; $custom-light: #885463; $custom-dark: #000000;
JSON
{
"hex": "#540c2a",
"rgb": {
"r": 84,
"g": 12,
"b": 42
},
"hsl": {
"h": 335,
"s": 75,
"l": 18.824
},
"oklch": {
"l": 0.29884,
"c": 0.10549,
"h": 1.3
},
"luminance": 0.02315
}Semantic roles & 50–950 ramp
primary
#540C2A
secondary
#2D8F66
accent
#F2A436
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879