#540F2C#540F2C
#540F2C is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.2% C 0.103 H 0.2°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).
Color values
| HEX | #540F2C |
|---|---|
| RGB | rgb(84, 15, 44) |
| HSL | hsl(335, 70%, 19%) |
| HSV | hsv(335, 82%, 33%) |
| CMYK | cmyk(0%, 82.1%, 47.6%, 67.1%) |
| CIE-LAB | lab(17.50, 33.51, 0.01) |
| CIE-LCH | lch(17.50, 33.51, 0.01°) |
| OKLab | oklab(30.23% 0.1029 0.0004) |
| OKLCH | oklch(30.23% 0.103 0.2) |
| XYZ | xyz(4.2819, 2.4089, 2.6219) |
| Luminance | 0.0241 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 5.51
Merlot
#730039
ΔE00 6.41
Plum (survey)
#580F41
ΔE00 6.82
Maroon (survey)
#650021
ΔE00 7.08
Dark Plum
#3F012C
ΔE00 7.27
Wine (survey)
#80013F
ΔE00 8.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#540F2C #0F5437
analogous
#540F4F #540F2C #54150F
triadic
#540F2C #2C540F #0F2C54
tetradic
#540F2C #4F540F #0F5437 #150F54
square
#540F2C #4F540F #0F5437 #150F54
split-complementary
#540F2C #0F5415 #0F4F54
monochromatic
#1A050E #200611 #540F2C #881847 #BC2262
Accessibility & contrast
On white
14.17
#540F2C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#540F2C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #540F2C
14.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##540F2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##540F2C | 1.00 | 14.17 | 1.48 | 14.17 |
| #FFFFFF | 14.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F232D
Deuteranopia (green-blind)
#31302A
Tritanopia (blue-blind)
#5C041C
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #540f2c; /* rgb */ color: rgb(84, 15, 44); /* oklch */ color: oklch(30.2% 0.103 0.2);
Tailwind
colors: {
custom: {
50: '#885564',
500: '#540f2c',
950: '#000000',
},
}SCSS
$custom: #540f2c; $custom-light: #885564; $custom-dark: #000000;
JSON
{
"hex": "#540f2c",
"rgb": {
"r": 84,
"g": 15,
"b": 44
},
"hsl": {
"h": 334.783,
"s": 69.697,
"l": 19.412
},
"oklch": {
"l": 0.30228,
"c": 0.10288,
"h": 0.2
},
"luminance": 0.02408
}Semantic roles & 50–950 ramp
primary
#540F2C
secondary
#318E67
accent
#EDA23B
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0305
muted
#7D787A