#540F29#540F29
#540F29 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.1% C 0.102 H 3.1°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).
Color values
| HEX | #540F29 |
|---|---|
| RGB | rgb(84, 15, 41) |
| HSL | hsl(337, 70%, 19%) |
| HSV | hsv(337, 82%, 33%) |
| CMYK | cmyk(0%, 82.1%, 51.2%, 67.1%) |
| CIE-LAB | lab(17.40, 33.19, 2.02) |
| CIE-LCH | lch(17.40, 33.25, 3.48°) |
| OKLab | oklab(30.12% 0.1017 0.0055) |
| OKLCH | oklch(30.12% 0.102 3.1) |
| XYZ | xyz(4.2276, 2.3871, 2.3355) |
| Luminance | 0.0239 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.60
Maroon (survey)
#650021
ΔE00 6.10
Merlot
#730039
ΔE00 6.64
Plum (survey)
#580F41
ΔE00 8.01
Dark Plum
#3F012C
ΔE00 8.22
Dark Maroon
#3C0008
ΔE00 8.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#540F29 #0F543A
analogous
#540F4C #540F29 #54170F
triadic
#540F29 #29540F #0F2954
tetradic
#540F29 #4C540F #0F543A #170F54
square
#540F29 #4C540F #0F543A #170F54
split-complementary
#540F29 #0F5417 #0F4C54
monochromatic
#1A050D #200610 #540F29 #881842 #BC225C
Accessibility & contrast
On white
14.21
#540F29 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#540F29 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #540F29
14.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##540F29 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##540F29 | 1.00 | 14.21 | 1.48 | 14.21 |
| #FFFFFF | 14.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F222A
Deuteranopia (green-blind)
#323027
Tritanopia (blue-blind)
#5C031A
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #540f29; /* rgb */ color: rgb(84, 15, 41); /* oklch */ color: oklch(30.1% 0.102 3.1);
Tailwind
colors: {
custom: {
50: '#885562',
500: '#540f29',
950: '#000000',
},
}SCSS
$custom: #540f29; $custom-light: #885562; $custom-dark: #000000;
JSON
{
"hex": "#540f29",
"rgb": {
"r": 84,
"g": 15,
"b": 41
},
"hsl": {
"h": 337.391,
"s": 69.697,
"l": 19.412
},
"oklch": {
"l": 0.30121,
"c": 0.10184,
"h": 3.1
},
"luminance": 0.02387
}Semantic roles & 50–950 ramp
primary
#540F29
secondary
#318E6B
accent
#EDAA3B
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879