#540E27#540E27
#540E27 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 30.0% C 0.102 H 4.7°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).
Color values
| HEX | #540E27 |
|---|---|
| RGB | rgb(84, 14, 39) |
| HSL | hsl(339, 71%, 19%) |
| HSV | hsv(339, 83%, 33%) |
| CMYK | cmyk(0%, 83.3%, 53.6%, 67.1%) |
| CIE-LAB | lab(17.21, 33.35, 3.18) |
| CIE-LCH | lch(17.21, 33.50, 5.45°) |
| OKLab | oklab(29.96% 0.102 0.0084) |
| OKLCH | oklch(29.96% 0.102 4.7) |
| XYZ | xyz(4.1798, 2.3460, 2.1518) |
| Luminance | 0.0234 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.07
Maroon (survey)
#650021
ΔE00 5.53
Merlot
#730039
ΔE00 6.83
Dark Maroon
#3C0008
ΔE00 7.69
Bordeaux
#7B002C
ΔE00 8.51
Plum (survey)
#580F41
ΔE00 8.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#540E27 #0E543B
analogous
#540E4A #540E27 #54180E
triadic
#540E27 #27540E #0E2754
tetradic
#540E27 #4A540E #0E543B #180E54
square
#540E27 #4A540E #0E543B #180E54
split-complementary
#540E27 #0E5418 #0E4A54
monochromatic
#1A040C #20050F #540E27 #88173F #BD1F58
Accessibility & contrast
On white
14.30
#540E27 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#540E27 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #540E27
14.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##540E27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##540E27 | 1.00 | 14.30 | 1.47 | 14.30 |
| #FFFFFF | 14.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F2228
Deuteranopia (green-blind)
#322F25
Tritanopia (blue-blind)
#5C0019
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #540e27; /* rgb */ color: rgb(84, 14, 39); /* oklch */ color: oklch(30.0% 0.102 4.7);
Tailwind
colors: {
custom: {
50: '#885460',
500: '#540e27',
950: '#000000',
},
}SCSS
$custom: #540e27; $custom-light: #885460; $custom-dark: #000000;
JSON
{
"hex": "#540e27",
"rgb": {
"r": 84,
"g": 14,
"b": 39
},
"hsl": {
"h": 338.571,
"s": 71.429,
"l": 19.216
},
"oklch": {
"l": 0.29958,
"c": 0.10238,
"h": 4.7
},
"luminance": 0.02345
}Semantic roles & 50–950 ramp
primary
#540E27
secondary
#2F8E6C
accent
#EEAE3A
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0305
muted
#7D7879