#54172E#54172E
#54172E is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.2% C 0.093 H 0.9°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).
Color values
| HEX | #54172E |
|---|---|
| RGB | rgb(84, 23, 46) |
| HSL | hsl(337, 57%, 21%) |
| HSV | hsv(337, 73%, 33%) |
| CMYK | cmyk(0%, 72.6%, 45.2%, 67.1%) |
| CIE-LAB | lab(18.78, 30.38, 0.45) |
| CIE-LCH | lch(18.78, 30.38, 0.84°) |
| OKLab | oklab(31.19% 0.0929 0.0015) |
| OKLCH | oklch(31.19% 0.093 0.9) |
| XYZ | xyz(4.4560, 2.6954, 2.8698) |
| Luminance | 0.0270 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 5.96
Merlot
#730039
ΔE00 6.98
Plum (survey)
#580F41
ΔE00 7.33
Maroon (survey)
#650021
ΔE00 7.33
Dark Plum
#3F012C
ΔE00 8.02
Wine (survey)
#80013F
ΔE00 9.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#54172E #17543D
analogous
#54174C #54172E #541E17
triadic
#54172E #2E5417 #172E54
tetradic
#54172E #4C5417 #17543D #1E1754
square
#54172E #4C5417 #17543D #1E1754
split-complementary
#54172E #17541E #174C54
monochromatic
#18070D #240A14 #54172E #842448 #B43163
Accessibility & contrast
On white
13.65
#54172E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#54172E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #54172E
13.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##54172E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##54172E | 1.00 | 13.65 | 1.54 | 13.65 |
| #FFFFFF | 13.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23262F
Deuteranopia (green-blind)
#33322D
Tritanopia (blue-blind)
#5B1020
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #54172e; /* rgb */ color: rgb(84, 23, 46); /* oklch */ color: oklch(31.2% 0.093 0.9);
Tailwind
colors: {
custom: {
50: '#875966',
500: '#54172e',
950: '#000000',
},
}SCSS
$custom: #54172e; $custom-light: #875966; $custom-dark: #000000;
JSON
{
"hex": "#54172e",
"rgb": {
"r": 84,
"g": 23,
"b": 46
},
"hsl": {
"h": 337.377,
"s": 57.009,
"l": 20.98
},
"oklch": {
"l": 0.31194,
"c": 0.09295,
"h": 0.9
},
"luminance": 0.02695
}Semantic roles & 50–950 ramp
primary
#54172E
secondary
#3C8B6D
accent
#E0A748
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0406
muted
#7D797A