#540F27#540F27
#540F27 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.1% C 0.101 H 5.0°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).
Color values
| HEX | #540F27 |
|---|---|
| RGB | rgb(84, 15, 39) |
| HSL | hsl(339, 70%, 19%) |
| HSV | hsv(339, 82%, 33%) |
| CMYK | cmyk(0%, 82.1%, 53.6%, 67.1%) |
| CIE-LAB | lab(17.34, 32.99, 3.37) |
| CIE-LCH | lch(17.34, 33.16, 5.83°) |
| OKLab | oklab(30.05% 0.1009 0.0089) |
| OKLCH | oklch(30.05% 0.101 5) |
| XYZ | xyz(4.1936, 2.3735, 2.1564) |
| Luminance | 0.0237 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.06
Maroon (survey)
#650021
ΔE00 5.49
Merlot
#730039
ΔE00 6.91
Dark Maroon
#3C0008
ΔE00 7.63
Bordeaux
#7B002C
ΔE00 8.48
Plum (survey)
#580F41
ΔE00 8.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#540F27 #0F543C
analogous
#540F4A #540F27 #54190F
triadic
#540F27 #27540F #0F2754
tetradic
#540F27 #4A540F #0F543C #190F54
square
#540F27 #4A540F #0F543C #190F54
split-complementary
#540F27 #0F5419 #0F4A54
monochromatic
#1A050C #20060F #540F27 #88183F #BC2257
Accessibility & contrast
On white
14.24
#540F27 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#540F27 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #540F27
14.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##540F27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##540F27 | 1.00 | 14.24 | 1.47 | 14.24 |
| #FFFFFF | 14.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#202228
Deuteranopia (green-blind)
#323025
Tritanopia (blue-blind)
#5C0219
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #540f27; /* rgb */ color: rgb(84, 15, 39); /* oklch */ color: oklch(30.1% 0.101 5.0);
Tailwind
colors: {
custom: {
50: '#885560',
500: '#540f27',
950: '#000000',
},
}SCSS
$custom: #540f27; $custom-light: #885560; $custom-dark: #000000;
JSON
{
"hex": "#540f27",
"rgb": {
"r": 84,
"g": 15,
"b": 39
},
"hsl": {
"h": 339.13,
"s": 69.697,
"l": 19.412
},
"oklch": {
"l": 0.30053,
"c": 0.10125,
"h": 5
},
"luminance": 0.02373
}Semantic roles & 50–950 ramp
primary
#540F27
secondary
#318E6E
accent
#EDAF3B
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0305
muted
#7D7879