#540C24#540C24
#540C24 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.7% C 0.104 H 7.0°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).
Color values
| HEX | #540C24 |
|---|---|
| RGB | rgb(84, 12, 36) |
| HSL | hsl(340, 75%, 19%) |
| HSV | hsv(340, 86%, 33%) |
| CMYK | cmyk(0%, 85.7%, 57.1%, 67.1%) |
| CIE-LAB | lab(16.87, 33.76, 4.88) |
| CIE-LCH | lch(16.87, 34.11, 8.22°) |
| OKLab | oklab(29.68% 0.103 0.0126) |
| OKLCH | oklch(29.68% 0.104 7) |
| XYZ | xyz(4.1064, 2.2757, 1.8917) |
| Luminance | 0.0227 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 3.39
Maroon (survey)
#650021
ΔE00 4.75
Dark Maroon
#3C0008
ΔE00 6.95
Merlot
#730039
ΔE00 7.21
Bordeaux
#7B002C
ΔE00 8.12
Claret
#680018
ΔE00 8.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#540C24 #0C543C
analogous
#540C48 #540C24 #54180C
triadic
#540C24 #24540C #0C2454
tetradic
#540C24 #48540C #0C543C #180C54
square
#540C24 #48540C #0C543C #180C54
split-complementary
#540C24 #0C5418 #0C4854
monochromatic
#1B040B #1E040D #540C24 #8A143B #BF1B52
Accessibility & contrast
On white
14.43
#540C24 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#540C24 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #540C24
14.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##540C24 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##540C24 | 1.00 | 14.43 | 1.46 | 14.43 |
| #FFFFFF | 14.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F2024
Deuteranopia (green-blind)
#322F22
Tritanopia (blue-blind)
#5C0017
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #540c24; /* rgb */ color: rgb(84, 12, 36); /* oklch */ color: oklch(29.7% 0.104 7.0);
Tailwind
colors: {
custom: {
50: '#89545e',
500: '#540c24',
950: '#000000',
},
}SCSS
$custom: #540c24; $custom-light: #89545e; $custom-dark: #000000;
JSON
{
"hex": "#540c24",
"rgb": {
"r": 84,
"g": 12,
"b": 36
},
"hsl": {
"h": 340,
"s": 75,
"l": 18.824
},
"oklch": {
"l": 0.29682,
"c": 0.10375,
"h": 7
},
"luminance": 0.02275
}Semantic roles & 50–950 ramp
primary
#540C24
secondary
#2D8F6E
accent
#F2B336
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879