#540E21#540E21
#540E21 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.8% C 0.101 H 10.4°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).
Color values
| HEX | #540E21 |
|---|---|
| RGB | rgb(84, 14, 33) |
| HSL | hsl(344, 71%, 19%) |
| HSV | hsv(344, 83%, 33%) |
| CMYK | cmyk(0%, 83.3%, 60.7%, 67.1%) |
| CIE-LAB | lab(17.03, 32.80, 7.27) |
| CIE-LCH | lch(17.03, 33.60, 12.50°) |
| OKLab | oklab(29.77% 0.0994 0.0183) |
| OKLCH | oklch(29.77% 0.101 10.4) |
| XYZ | xyz(4.0881, 2.3093, 1.6690) |
| Luminance | 0.0231 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 3.25
Maroon (survey)
#650021
ΔE00 4.11
Dark Maroon
#3C0008
ΔE00 6.13
Claret
#680018
ΔE00 6.88
Deep Brown
#410200
ΔE00 7.85
Bordeaux
#7B002C
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#540E21 #0E5441
analogous
#540E44 #540E21 #541E0E
triadic
#540E21 #21540E #0E2154
tetradic
#540E21 #44540E #0E5441 #1E0E54
square
#540E21 #44540E #0E5441 #1E0E54
split-complementary
#540E21 #0E541E #0E4454
monochromatic
#1A040A #20050C #540E21 #881736 #BD1F4A
Accessibility & contrast
On white
14.37
#540E21 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#540E21 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #540E21
14.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##540E21 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##540E21 | 1.00 | 14.37 | 1.46 | 14.37 |
| #FFFFFF | 14.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#212121
Deuteranopia (green-blind)
#332F1F
Tritanopia (blue-blind)
#5D0016
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #540e21; /* rgb */ color: rgb(84, 14, 33); /* oklch */ color: oklch(29.8% 0.101 10.4);
Tailwind
colors: {
custom: {
50: '#89545b',
500: '#540e21',
950: '#000000',
},
}SCSS
$custom: #540e21; $custom-light: #89545b; $custom-dark: #000000;
JSON
{
"hex": "#540e21",
"rgb": {
"r": 84,
"g": 14,
"b": 33
},
"hsl": {
"h": 343.714,
"s": 71.429,
"l": 19.216
},
"oklch": {
"l": 0.29773,
"c": 0.1011,
"h": 10.4
},
"luminance": 0.02309
}Semantic roles & 50–950 ramp
primary
#540E21
secondary
#2F8E75
accent
#EEBD3A
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879