#540F26#540F26
#540F26 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.0% C 0.101 H 6.0°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).
Color values
| HEX | #540F26 |
|---|---|
| RGB | rgb(84, 15, 38) |
| HSL | hsl(340, 70%, 19%) |
| HSV | hsv(340, 82%, 33%) |
| CMYK | cmyk(0%, 82.1%, 54.8%, 67.1%) |
| CIE-LAB | lab(17.31, 32.89, 4.04) |
| CIE-LCH | lch(17.31, 33.14, 7.01°) |
| OKLab | oklab(30.02% 0.1004 0.0106) |
| OKLCH | oklch(30.02% 0.101 6) |
| XYZ | xyz(4.1772, 2.3670, 2.0703) |
| Luminance | 0.0237 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 3.84
Maroon (survey)
#650021
ΔE00 5.20
Merlot
#730039
ΔE00 7.09
Dark Maroon
#3C0008
ΔE00 7.34
Bordeaux
#7B002C
ΔE00 8.33
Claret
#680018
ΔE00 8.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#540F26 #0F543D
analogous
#540F49 #540F26 #541B0F
triadic
#540F26 #26540F #0F2654
tetradic
#540F26 #49540F #0F543D #1B0F54
square
#540F26 #49540F #0F543D #1B0F54
split-complementary
#540F26 #0F541B #0F4954
monochromatic
#1A050C #20060F #540F26 #88183D #BC2255
Accessibility & contrast
On white
14.25
#540F26 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#540F26 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #540F26
14.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##540F26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##540F26 | 1.00 | 14.25 | 1.47 | 14.25 |
| #FFFFFF | 14.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#202226
Deuteranopia (green-blind)
#322F24
Tritanopia (blue-blind)
#5C0119
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #540f26; /* rgb */ color: rgb(84, 15, 38); /* oklch */ color: oklch(30.0% 0.101 6.0);
Tailwind
colors: {
custom: {
50: '#895560',
500: '#540f26',
950: '#000000',
},
}SCSS
$custom: #540f26; $custom-light: #895560; $custom-dark: #000000;
JSON
{
"hex": "#540f26",
"rgb": {
"r": 84,
"g": 15,
"b": 38
},
"hsl": {
"h": 340,
"s": 69.697,
"l": 19.412
},
"oklch": {
"l": 0.30021,
"c": 0.10099,
"h": 6
},
"luminance": 0.02366
}Semantic roles & 50–950 ramp
primary
#540F26
secondary
#318E6F
accent
#EDB13B
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879