#540F21#540F21
#540F21 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.9% C 0.100 H 10.8°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).
Color values
| HEX | #540F21 |
|---|---|
| RGB | rgb(84, 15, 33) |
| HSL | hsl(344, 70%, 19%) |
| HSV | hsv(344, 82%, 33%) |
| CMYK | cmyk(0%, 82.1%, 60.7%, 67.1%) |
| CIE-LAB | lab(17.16, 32.43, 7.45) |
| CIE-LCH | lch(17.16, 33.28, 12.94°) |
| OKLab | oklab(29.87% 0.0983 0.0188) |
| OKLCH | oklch(29.87% 0.1 10.8) |
| XYZ | xyz(4.1019, 2.3369, 1.6736) |
| Luminance | 0.0234 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 3.37
Maroon (survey)
#650021
ΔE00 4.14
Dark Maroon
#3C0008
ΔE00 6.11
Claret
#680018
ΔE00 6.80
Deep Brown
#410200
ΔE00 7.74
Bordeaux
#7B002C
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#540F21 #0F5442
analogous
#540F44 #540F21 #54200F
triadic
#540F21 #21540F #0F2154
tetradic
#540F21 #44540F #0F5442 #200F54
square
#540F21 #44540F #0F5442 #200F54
split-complementary
#540F21 #0F5420 #0F4454
monochromatic
#1A050A #20060D #540F21 #881835 #BC224A
Accessibility & contrast
On white
14.31
#540F21 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#540F21 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #540F21
14.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##540F21 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##540F21 | 1.00 | 14.31 | 1.47 | 14.31 |
| #FFFFFF | 14.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#212121
Deuteranopia (green-blind)
#332F1F
Tritanopia (blue-blind)
#5C0017
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #540f21; /* rgb */ color: rgb(84, 15, 33); /* oklch */ color: oklch(29.9% 0.100 10.8);
Tailwind
colors: {
custom: {
50: '#89555b',
500: '#540f21',
950: '#000000',
},
}SCSS
$custom: #540f21; $custom-light: #89555b; $custom-dark: #000000;
JSON
{
"hex": "#540f21",
"rgb": {
"r": 84,
"g": 15,
"b": 33
},
"hsl": {
"h": 344.348,
"s": 69.697,
"l": 19.412
},
"oklch": {
"l": 0.2987,
"c": 0.10002,
"h": 10.8
},
"luminance": 0.02336
}Semantic roles & 50–950 ramp
primary
#540F21
secondary
#318E76
accent
#EDBE3B
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879