#5F1845#5F1845
#5F1845 is a dark, moderate pink. Relative luminance 0.035; OKLCH L 34.3% C 0.114 H 345.9°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1845 |
|---|---|
| RGB | rgb(95, 24, 69) |
| HSL | hsl(322, 60%, 23%) |
| HSV | hsv(322, 75%, 37%) |
| CMYK | cmyk(0%, 74.7%, 27.4%, 62.7%) |
| CIE-LAB | lab(22.00, 36.60, -10.52) |
| CIE-LCH | lch(22.00, 38.08, 343.96°) |
| OKLab | oklab(34.27% 0.1108 -0.0279) |
| OKLCH | oklch(34.27% 0.114 345.9) |
| XYZ | xyz(6.1204, 3.5165, 5.9855) |
| Luminance | 0.0352 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 2.12
Grape Purple
#5D1451
ΔE00 4.30
Velvet
#750851
ΔE00 4.80
Rich Purple
#720058
ΔE00 5.78
Merlot
#730039
ΔE00 7.18
Grape
#6C3461
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1845 #185F32
analogous
#55185F #5F1845 #5F1821
triadic
#5F1845 #455F18 #18455F
tetradic
#5F1845 #5F5518 #185F32 #18215F
square
#5F1845 #5F5518 #185F32 #18215F
split-complementary
#5F1845 #215F18 #185F55
monochromatic
#180612 #2E0C22 #5F1845 #902468 #C1318C
Accessibility & contrast
On white
12.33
#5F1845 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#5F1845 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1845
12.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1845 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1845 | 1.00 | 12.33 | 1.70 | 12.33 |
| #FFFFFF | 12.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#212D46
Deuteranopia (green-blind)
#363943
Tritanopia (blue-blind)
#66172C
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #5f1845; /* rgb */ color: rgb(95, 24, 69); /* oklch */ color: oklch(34.3% 0.114 345.9);
Tailwind
colors: {
custom: {
50: '#8f5c78',
500: '#5f1845',
950: '#000000',
},
}SCSS
$custom: #5f1845; $custom-light: #8f5c78; $custom-dark: #000000;
JSON
{
"hex": "#5f1845",
"rgb": {
"r": 95,
"g": 24,
"b": 69
},
"hsl": {
"h": 321.972,
"s": 59.664,
"l": 23.333
},
"oklch": {
"l": 0.34271,
"c": 0.11425,
"h": 345.9
},
"luminance": 0.03516
}Semantic roles & 50–950 ramp
primary
#5F1845
secondary
#3D955E
accent
#E37F45
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B