#540F2B#540F2B
#540F2B is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.2% C 0.103 H 1.2°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).
Color values
| HEX | #540F2B |
|---|---|
| RGB | rgb(84, 15, 43) |
| HSL | hsl(336, 70%, 19%) |
| HSV | hsv(336, 82%, 33%) |
| CMYK | cmyk(0%, 82.1%, 48.8%, 67.1%) |
| CIE-LAB | lab(17.47, 33.40, 0.67) |
| CIE-LCH | lch(17.47, 33.41, 1.16°) |
| OKLab | oklab(30.19% 0.1025 0.0021) |
| OKLCH | oklch(30.19% 0.103 1.2) |
| XYZ | xyz(4.2634, 2.4014, 2.5241) |
| Luminance | 0.0240 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 5.20
Merlot
#730039
ΔE00 6.46
Maroon (survey)
#650021
ΔE00 6.75
Plum (survey)
#580F41
ΔE00 7.21
Dark Plum
#3F012C
ΔE00 7.58
Wine (survey)
#80013F
ΔE00 8.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#540F2B #0F5438
analogous
#540F4E #540F2B #54160F
triadic
#540F2B #2B540F #0F2B54
tetradic
#540F2B #4E540F #0F5438 #160F54
square
#540F2B #4E540F #0F5438 #160F54
split-complementary
#540F2B #0F5416 #0F4E54
monochromatic
#1A050D #200610 #540F2B #881846 #BC2260
Accessibility & contrast
On white
14.19
#540F2B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#540F2B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #540F2B
14.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##540F2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##540F2B | 1.00 | 14.19 | 1.48 | 14.19 |
| #FFFFFF | 14.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F222C
Deuteranopia (green-blind)
#313029
Tritanopia (blue-blind)
#5C031B
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #540f2b; /* rgb */ color: rgb(84, 15, 43); /* oklch */ color: oklch(30.2% 0.103 1.2);
Tailwind
colors: {
custom: {
50: '#885564',
500: '#540f2b',
950: '#000000',
},
}SCSS
$custom: #540f2b; $custom-light: #885564; $custom-dark: #000000;
JSON
{
"hex": "#540f2b",
"rgb": {
"r": 84,
"g": 15,
"b": 43
},
"hsl": {
"h": 335.652,
"s": 69.697,
"l": 19.412
},
"oklch": {
"l": 0.30192,
"c": 0.10251,
"h": 1.2
},
"luminance": 0.02401
}Semantic roles & 50–950 ramp
primary
#540F2B
secondary
#318E68
accent
#EDA53B
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879