#5F1853#5F1853
#5F1853 is a dark, vivid pink. Relative luminance 0.037; OKLCH L 35.0% C 0.125 H 335.5°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1853 |
|---|---|
| RGB | rgb(95, 24, 83) |
| HSL | hsl(310, 60%, 23%) |
| HSV | hsv(310, 75%, 37%) |
| CMYK | cmyk(0%, 74.7%, 12.6%, 62.7%) |
| CIE-LAB | lab(22.69, 38.81, -18.93) |
| CIE-LCH | lch(22.69, 43.18, 333.99°) |
| OKLab | oklab(35% 0.1134 -0.0516) |
| OKLCH | oklch(35% 0.125 335.5) |
| XYZ | xyz(6.6074, 3.7113, 8.5503) |
| Luminance | 0.0371 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Grape Purple
#5D1451
ΔE00 0.77
Plum (survey)
#580F41
ΔE00 4.14
Rich Purple
#720058
ΔE00 4.25
Plum Purple
#4E0550
ΔE00 5.13
Deep Violet
#490648
ΔE00 5.38
Velvet
#750851
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1853 #185F24
analogous
#47185F #5F1853 #5F182F
triadic
#5F1853 #535F18 #18535F
tetradic
#5F1853 #5F4718 #185F24 #182F5F
square
#5F1853 #5F4718 #185F24 #182F5F
split-complementary
#5F1853 #2F5F18 #185F47
monochromatic
#180615 #2E0C28 #5F1853 #90247E #C131A8
Accessibility & contrast
On white
12.05
#5F1853 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#5F1853 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1853
12.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1853 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1853 | 1.00 | 12.05 | 1.74 | 12.05 |
| #FFFFFF | 12.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#182F55
Deuteranopia (green-blind)
#313A51
Tritanopia (blue-blind)
#641D33
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #5f1853; /* rgb */ color: rgb(95, 24, 83); /* oklch */ color: oklch(35.0% 0.125 335.5);
Tailwind
colors: {
custom: {
50: '#8f5c83',
500: '#5f1853',
950: '#000000',
},
}SCSS
$custom: #5f1853; $custom-light: #8f5c83; $custom-dark: #000000;
JSON
{
"hex": "#5f1853",
"rgb": {
"r": 95,
"g": 24,
"b": 83
},
"hsl": {
"h": 310.141,
"s": 59.664,
"l": 23.333
},
"oklch": {
"l": 0.34997,
"c": 0.12459,
"h": 335.5
},
"luminance": 0.03711
}Semantic roles & 50–950 ramp
primary
#5F1853
secondary
#3D954C
accent
#E36045
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040A
muted
#7E797C