#540E28#540E28
#540E28 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.0% C 0.103 H 3.8°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).
Color values
| HEX | #540E28 |
|---|---|
| RGB | rgb(84, 14, 40) |
| HSL | hsl(338, 71%, 19%) |
| HSV | hsv(338, 83%, 33%) |
| CMYK | cmyk(0%, 83.3%, 52.4%, 67.1%) |
| CIE-LAB | lab(17.24, 33.45, 2.51) |
| CIE-LCH | lch(17.24, 33.54, 4.28°) |
| OKLab | oklab(29.99% 0.1025 0.0068) |
| OKLCH | oklch(29.99% 0.103 3.8) |
| XYZ | xyz(4.1966, 2.3527, 2.2402) |
| Luminance | 0.0235 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.33
Maroon (survey)
#650021
ΔE00 5.84
Merlot
#730039
ΔE00 6.68
Dark Maroon
#3C0008
ΔE00 7.99
Plum (survey)
#580F41
ΔE00 8.29
Dark Plum
#3F012C
ΔE00 8.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#540E28 #0E543A
analogous
#540E4B #540E28 #54170E
triadic
#540E28 #28540E #0E2854
tetradic
#540E28 #4B540E #0E543A #170E54
square
#540E28 #4B540E #0E543A #170E54
split-complementary
#540E28 #0E5417 #0E4B54
monochromatic
#1A040C #20050F #540E28 #881741 #BD1F5A
Accessibility & contrast
On white
14.28
#540E28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#540E28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #540E28
14.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##540E28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##540E28 | 1.00 | 14.28 | 1.47 | 14.28 |
| #FFFFFF | 14.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F2229
Deuteranopia (green-blind)
#322F26
Tritanopia (blue-blind)
#5C0119
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #540e28; /* rgb */ color: rgb(84, 14, 40); /* oklch */ color: oklch(30.0% 0.103 3.8);
Tailwind
colors: {
custom: {
50: '#885461',
500: '#540e28',
950: '#000000',
},
}SCSS
$custom: #540e28; $custom-light: #885461; $custom-dark: #000000;
JSON
{
"hex": "#540e28",
"rgb": {
"r": 84,
"g": 14,
"b": 40
},
"hsl": {
"h": 337.714,
"s": 71.429,
"l": 19.216
},
"oklch": {
"l": 0.29991,
"c": 0.10267,
"h": 3.8
},
"luminance": 0.02352
}Semantic roles & 50–950 ramp
primary
#540E28
secondary
#2F8E6B
accent
#EEAB3A
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0305
muted
#7D7879