#540C29#540C29
#540C29 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.8% C 0.105 H 2.3°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).
Color values
| HEX | #540C29 |
|---|---|
| RGB | rgb(84, 12, 41) |
| HSL | hsl(336, 75%, 19%) |
| HSV | hsv(336, 86%, 33%) |
| CMYK | cmyk(0%, 85.7%, 51.2%, 67.1%) |
| CIE-LAB | lab(17.03, 34.24, 1.48) |
| CIE-LCH | lch(17.03, 34.27, 2.48°) |
| OKLab | oklab(29.85% 0.1051 0.0042) |
| OKLCH | oklch(29.85% 0.105 2.3) |
| XYZ | xyz(4.1882, 2.3084, 2.3224) |
| Luminance | 0.0231 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.69
Maroon (survey)
#650021
ΔE00 6.27
Merlot
#730039
ΔE00 6.45
Plum (survey)
#580F41
ΔE00 7.67
Dark Plum
#3F012C
ΔE00 7.85
Dark Maroon
#3C0008
ΔE00 8.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#540C29 #0C5437
analogous
#540C4D #540C29 #54130C
triadic
#540C29 #29540C #0C2954
tetradic
#540C29 #4D540C #0C5437 #130C54
square
#540C29 #4D540C #0C5437 #130C54
split-complementary
#540C29 #0C5413 #0C4D54
monochromatic
#1B040D #1E040F #540C29 #8A1443 #BF1B5D
Accessibility & contrast
On white
14.37
#540C29 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#540C29 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #540C29
14.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##540C29 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##540C29 | 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)
#1E212A
Deuteranopia (green-blind)
#312F27
Tritanopia (blue-blind)
#5C0019
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #540c29; /* rgb */ color: rgb(84, 12, 41); /* oklch */ color: oklch(29.8% 0.105 2.3);
Tailwind
colors: {
custom: {
50: '#885462',
500: '#540c29',
950: '#000000',
},
}SCSS
$custom: #540c29; $custom-light: #885462; $custom-dark: #000000;
JSON
{
"hex": "#540c29",
"rgb": {
"r": 84,
"g": 12,
"b": 41
},
"hsl": {
"h": 335.833,
"s": 75,
"l": 18.824
},
"oklch": {
"l": 0.29848,
"c": 0.10514,
"h": 2.3
},
"luminance": 0.02308
}Semantic roles & 50–950 ramp
primary
#540C29
secondary
#2D8F67
accent
#F2A636
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879