#540F24#540F24
#540F24 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.0% C 0.101 H 7.9°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).
Color values
| HEX | #540F24 |
|---|---|
| RGB | rgb(84, 15, 36) |
| HSL | hsl(342, 70%, 19%) |
| HSV | hsv(342, 82%, 33%) |
| CMYK | cmyk(0%, 82.1%, 57.1%, 67.1%) |
| CIE-LAB | lab(17.25, 32.70, 5.40) |
| CIE-LCH | lch(17.25, 33.14, 9.38°) |
| OKLab | oklab(29.96% 0.0996 0.0139) |
| OKLCH | oklch(29.96% 0.101 7.9) |
| XYZ | xyz(4.1458, 2.3544, 1.9049) |
| Luminance | 0.0235 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 3.49
Maroon (survey)
#650021
ΔE00 4.69
Dark Maroon
#3C0008
ΔE00 6.80
Merlot
#730039
ΔE00 7.51
Claret
#680018
ΔE00 7.87
Bordeaux
#7B002C
ΔE00 8.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#540F24 #0F543F
analogous
#540F47 #540F24 #541D0F
triadic
#540F24 #24540F #0F2454
tetradic
#540F24 #47540F #0F543F #1D0F54
square
#540F24 #47540F #0F543F #1D0F54
split-complementary
#540F24 #0F541D #0F4754
monochromatic
#1A050B #20060E #540F24 #88183A #BC2251
Accessibility & contrast
On white
14.28
#540F24 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#540F24 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #540F24
14.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##540F24 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##540F24 | 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)
#212224
Deuteranopia (green-blind)
#332F22
Tritanopia (blue-blind)
#5C0018
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #540f24; /* rgb */ color: rgb(84, 15, 36); /* oklch */ color: oklch(30.0% 0.101 7.9);
Tailwind
colors: {
custom: {
50: '#89555e',
500: '#540f24',
950: '#000000',
},
}SCSS
$custom: #540f24; $custom-light: #89555e; $custom-dark: #000000;
JSON
{
"hex": "#540f24",
"rgb": {
"r": 84,
"g": 15,
"b": 36
},
"hsl": {
"h": 341.739,
"s": 69.697,
"l": 19.412
},
"oklch": {
"l": 0.29958,
"c": 0.10053,
"h": 7.9
},
"luminance": 0.02354
}Semantic roles & 50–950 ramp
primary
#540F24
secondary
#318E72
accent
#EDB73B
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879