#540E29#540E29
#540E29 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.0% C 0.103 H 2.8°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).
Color values
| HEX | #540E29 |
|---|---|
| RGB | rgb(84, 14, 41) |
| HSL | hsl(337, 71%, 19%) |
| HSV | hsv(337, 83%, 33%) |
| CMYK | cmyk(0%, 83.3%, 51.2%, 67.1%) |
| CIE-LAB | lab(17.27, 33.55, 1.83) |
| CIE-LCH | lch(17.27, 33.60, 3.12°) |
| OKLab | oklab(30.03% 0.1029 0.0051) |
| OKLCH | oklch(30.03% 0.103 2.8) |
| XYZ | xyz(4.2138, 2.3596, 2.3309) |
| Luminance | 0.0236 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.62
Maroon (survey)
#650021
ΔE00 6.16
Merlot
#730039
ΔE00 6.57
Plum (survey)
#580F41
ΔE00 7.89
Dark Plum
#3F012C
ΔE00 8.09
Dark Maroon
#3C0008
ΔE00 8.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#540E29 #0E5439
analogous
#540E4C #540E29 #54160E
triadic
#540E29 #29540E #0E2954
tetradic
#540E29 #4C540E #0E5439 #160E54
square
#540E29 #4C540E #0E5439 #160E54
split-complementary
#540E29 #0E5416 #0E4C54
monochromatic
#1A040D #20050F #540E29 #881743 #BD1F5C
Accessibility & contrast
On white
14.27
#540E29 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#540E29 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #540E29
14.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##540E29 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##540E29 | 1.00 | 14.27 | 1.47 | 14.27 |
| #FFFFFF | 14.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F222A
Deuteranopia (green-blind)
#312F27
Tritanopia (blue-blind)
#5C011A
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #540e29; /* rgb */ color: rgb(84, 14, 41); /* oklch */ color: oklch(30.0% 0.103 2.8);
Tailwind
colors: {
custom: {
50: '#885462',
500: '#540e29',
950: '#000000',
},
}SCSS
$custom: #540e29; $custom-light: #885462; $custom-dark: #000000;
JSON
{
"hex": "#540e29",
"rgb": {
"r": 84,
"g": 14,
"b": 41
},
"hsl": {
"h": 336.857,
"s": 71.429,
"l": 19.216
},
"oklch": {
"l": 0.30026,
"c": 0.10298,
"h": 2.8
},
"luminance": 0.02359
}Semantic roles & 50–950 ramp
primary
#540E29
secondary
#2F8E6A
accent
#EEA93A
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879