#5F182A#5F182A
#5F182A is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.2% C 0.103 H 9.7°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).
Color values
| HEX | #5F182A |
|---|---|
| RGB | rgb(95, 24, 42) |
| HSL | hsl(345, 60%, 23%) |
| HSV | hsv(345, 75%, 37%) |
| CMYK | cmyk(0%, 74.7%, 55.8%, 62.7%) |
| CIE-LAB | lab(21.03, 33.35, 6.78) |
| CIE-LCH | lch(21.03, 34.03, 11.49°) |
| OKLab | oklab(33.24% 0.1012 0.0173) |
| OKLCH | oklch(33.24% 0.103 9.7) |
| XYZ | xyz(5.4643, 3.2541, 2.5304) |
| Luminance | 0.0325 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 3.32
Maroon (survey)
#650021
ΔE00 3.86
Bordeaux
#7B002C
ΔE00 6.17
Wine
#722F37
ΔE00 6.43
Merlot
#730039
ΔE00 6.66
Claret
#680018
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F182A #185F4D
analogous
#5F184D #5F182A #5F2918
triadic
#5F182A #2A5F18 #182A5F
tetradic
#5F182A #4D5F18 #185F4D #29185F
square
#5F182A #4D5F18 #185F4D #29185F
split-complementary
#5F182A #185F29 #184D5F
monochromatic
#18060B #2E0C14 #5F182A #902440 #C13155
Accessibility & contrast
On white
12.72
#5F182A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#5F182A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F182A
12.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F182A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F182A | 1.00 | 12.72 | 1.65 | 12.72 |
| #FFFFFF | 12.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#29292A
Deuteranopia (green-blind)
#3C3828
Tritanopia (blue-blind)
#680A1F
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #5f182a; /* rgb */ color: rgb(95, 24, 42); /* oklch */ color: oklch(33.2% 0.103 9.7);
Tailwind
colors: {
custom: {
50: '#915b63',
500: '#5f182a',
950: '#000000',
},
}SCSS
$custom: #5f182a; $custom-light: #915b63; $custom-dark: #000000;
JSON
{
"hex": "#5f182a",
"rgb": {
"r": 95,
"g": 24,
"b": 42
},
"hsl": {
"h": 344.789,
"s": 59.664,
"l": 23.333
},
"oklch": {
"l": 0.33239,
"c": 0.10269,
"h": 9.7
},
"luminance": 0.03253
}Semantic roles & 50–950 ramp
primary
#5F182A
secondary
#3D957F
accent
#E3BB45
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0D0405
muted
#7E7979