#540F28#540F28
#540F28 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.1% C 0.102 H 4.1°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).
Color values
| HEX | #540F28 |
|---|---|
| RGB | rgb(84, 15, 40) |
| HSL | hsl(338, 70%, 19%) |
| HSV | hsv(338, 82%, 33%) |
| CMYK | cmyk(0%, 82.1%, 52.4%, 67.1%) |
| CIE-LAB | lab(17.37, 33.09, 2.69) |
| CIE-LCH | lch(17.37, 33.20, 4.65°) |
| OKLab | oklab(30.09% 0.1013 0.0072) |
| OKLCH | oklch(30.09% 0.102 4.1) |
| XYZ | xyz(4.2103, 2.3802, 2.2448) |
| Luminance | 0.0238 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.32
Maroon (survey)
#650021
ΔE00 5.79
Merlot
#730039
ΔE00 6.76
Dark Maroon
#3C0008
ΔE00 7.93
Plum (survey)
#580F41
ΔE00 8.42
Dark Plum
#3F012C
ΔE00 8.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#540F28 #0F543B
analogous
#540F4B #540F28 #54190F
triadic
#540F28 #28540F #0F2854
tetradic
#540F28 #4B540F #0F543B #190F54
square
#540F28 #4B540F #0F543B #190F54
split-complementary
#540F28 #0F5419 #0F4B54
monochromatic
#1A050C #20060F #540F28 #881841 #BC2259
Accessibility & contrast
On white
14.23
#540F28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#540F28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #540F28
14.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##540F28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##540F28 | 1.00 | 14.23 | 1.48 | 14.23 |
| #FFFFFF | 14.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#202229
Deuteranopia (green-blind)
#323026
Tritanopia (blue-blind)
#5C021A
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #540f28; /* rgb */ color: rgb(84, 15, 40); /* oklch */ color: oklch(30.1% 0.102 4.1);
Tailwind
colors: {
custom: {
50: '#885561',
500: '#540f28',
950: '#000000',
},
}SCSS
$custom: #540f28; $custom-light: #885561; $custom-dark: #000000;
JSON
{
"hex": "#540f28",
"rgb": {
"r": 84,
"g": 15,
"b": 40
},
"hsl": {
"h": 338.261,
"s": 69.697,
"l": 19.412
},
"oklch": {
"l": 0.30087,
"c": 0.10154,
"h": 4.1
},
"luminance": 0.0238
}Semantic roles & 50–950 ramp
primary
#540F28
secondary
#318E6C
accent
#EDAC3B
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0305
muted
#7D7879