#540E2A#540E2A
#540E2A is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.1% C 0.103 H 1.9°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).
Color values
| HEX | #540E2A |
|---|---|
| RGB | rgb(84, 14, 42) |
| HSL | hsl(336, 71%, 19%) |
| HSV | hsv(336, 83%, 33%) |
| CMYK | cmyk(0%, 83.3%, 50%, 67.1%) |
| CIE-LAB | lab(17.30, 33.66, 1.16) |
| CIE-LCH | lch(17.30, 33.68, 1.97°) |
| OKLab | oklab(30.06% 0.1033 0.0034) |
| OKLCH | oklch(30.06% 0.103 1.9) |
| XYZ | xyz(4.2315, 2.3666, 2.4240) |
| Luminance | 0.0237 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.92
Merlot
#730039
ΔE00 6.47
Maroon (survey)
#650021
ΔE00 6.48
Plum (survey)
#580F41
ΔE00 7.49
Dark Plum
#3F012C
ΔE00 7.76
Dark Maroon
#3C0008
ΔE00 8.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#540E2A #0E5438
analogous
#540E4D #540E2A #54150E
triadic
#540E2A #2A540E #0E2A54
tetradic
#540E2A #4D540E #0E5438 #150E54
square
#540E2A #4D540E #0E5438 #150E54
split-complementary
#540E2A #0E5415 #0E4D54
monochromatic
#1A040D #200510 #540E2A #881744 #BD1F5E
Accessibility & contrast
On white
14.25
#540E2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#540E2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #540E2A
14.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##540E2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##540E2A | 1.00 | 14.25 | 1.47 | 14.25 |
| #FFFFFF | 14.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F222B
Deuteranopia (green-blind)
#312F28
Tritanopia (blue-blind)
#5C021A
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #540e2a; /* rgb */ color: rgb(84, 14, 42); /* oklch */ color: oklch(30.1% 0.103 1.9);
Tailwind
colors: {
custom: {
50: '#885463',
500: '#540e2a',
950: '#000000',
},
}SCSS
$custom: #540e2a; $custom-light: #885463; $custom-dark: #000000;
JSON
{
"hex": "#540e2a",
"rgb": {
"r": 84,
"g": 14,
"b": 42
},
"hsl": {
"h": 336,
"s": 71.429,
"l": 19.216
},
"oklch": {
"l": 0.30061,
"c": 0.10331,
"h": 1.9
},
"luminance": 0.02366
}Semantic roles & 50–950 ramp
primary
#540E2A
secondary
#2F8E68
accent
#EEA63A
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879