#540E31#540E31
#540E31 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.3% C 0.106 H 355.3°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).
Color values
| HEX | #540E31 |
|---|---|
| RGB | rgb(84, 14, 49) |
| HSL | hsl(330, 71%, 19%) |
| HSV | hsv(330, 83%, 33%) |
| CMYK | cmyk(0%, 83.3%, 41.7%, 67.1%) |
| CIE-LAB | lab(17.56, 34.45, -3.49) |
| CIE-LCH | lch(17.56, 34.62, 354.22°) |
| OKLab | oklab(30.33% 0.1058 -0.0088) |
| OKLCH | oklch(30.33% 0.106 355.3) |
| XYZ | xyz(4.3679, 2.4212, 3.1425) |
| Luminance | 0.0242 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 4.82
Dark Plum
#3F012C
ΔE00 5.84
Merlot
#730039
ΔE00 6.51
Burgundy (survey)
#610023
ΔE00 7.22
Aubergine
#3D0734
ΔE00 7.68
Velvet
#750851
ΔE00 8.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#540E31 #0E5431
analogous
#540E54 #540E31 #540E0E
triadic
#540E31 #31540E #0E3154
tetradic
#540E31 #54540E #0E5431 #0E0E54
square
#540E31 #54540E #0E5431 #0E0E54
split-complementary
#540E31 #0E540E #0E5454
monochromatic
#1A040F #200512 #540E31 #881750 #BD1F6E
Accessibility & contrast
On white
14.15
#540E31 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#540E31 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #540E31
14.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##540E31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##540E31 | 1.00 | 14.15 | 1.48 | 14.15 |
| #FFFFFF | 14.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C2332
Deuteranopia (green-blind)
#30302F
Tritanopia (blue-blind)
#5B051E
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #540e31; /* rgb */ color: rgb(84, 14, 49); /* oklch */ color: oklch(30.3% 0.106 355.3);
Tailwind
colors: {
custom: {
50: '#885569',
500: '#540e31',
950: '#000000',
},
}SCSS
$custom: #540e31; $custom-light: #885569; $custom-dark: #000000;
JSON
{
"hex": "#540e31",
"rgb": {
"r": 84,
"g": 14,
"b": 49
},
"hsl": {
"h": 330,
"s": 71.429,
"l": 19.216
},
"oklch": {
"l": 0.3033,
"c": 0.1062,
"h": 355.3
},
"luminance": 0.02421
}Semantic roles & 50–950 ramp
primary
#540E31
secondary
#2F8E5F
accent
#EE943A
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A