#5F1242#5F1242
#5F1242 is a dark, vivid pink. Relative luminance 0.033; OKLCH L 33.5% C 0.120 H 347.4°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1242 |
|---|---|
| RGB | rgb(95, 18, 66) |
| HSL | hsl(323, 68%, 22%) |
| HSV | hsv(323, 81%, 37%) |
| CMYK | cmyk(0%, 81.1%, 30.5%, 62.7%) |
| CIE-LAB | lab(21.05, 38.47, -9.91) |
| CIE-LCH | lch(21.05, 39.73, 345.55°) |
| OKLab | oklab(33.53% 0.1172 -0.0261) |
| OKLCH | oklch(33.53% 0.12 347.4) |
| XYZ | xyz(5.9193, 3.2595, 5.4706) |
| Luminance | 0.0326 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 1.84
Grape Purple
#5D1451
ΔE00 4.68
Velvet
#750851
ΔE00 4.70
Rich Purple
#720058
ΔE00 5.78
Merlot
#730039
ΔE00 6.60
Dark Plum
#3F012C
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1242 #125F2F
analogous
#56125F #5F1242 #5F121C
triadic
#5F1242 #425F12 #12425F
tetradic
#5F1242 #5F5612 #125F2F #121C5F
square
#5F1242 #5F5612 #125F2F #121C5F
split-complementary
#5F1242 #1C5F12 #125F56
monochromatic
#1A0512 #2C081E #5F1242 #921C66 #C62589
Accessibility & contrast
On white
12.71
#5F1242 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#5F1242 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1242
12.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1242 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1242 | 1.00 | 12.71 | 1.65 | 12.71 |
| #FFFFFF | 12.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E2A43
Deuteranopia (green-blind)
#343740
Tritanopia (blue-blind)
#660F28
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #5f1242; /* rgb */ color: rgb(95, 18, 66); /* oklch */ color: oklch(33.5% 0.120 347.4);
Tailwind
colors: {
custom: {
50: '#905976',
500: '#5f1242',
950: '#000000',
},
}SCSS
$custom: #5f1242; $custom-light: #905976; $custom-dark: #000000;
JSON
{
"hex": "#5f1242",
"rgb": {
"r": 95,
"g": 18,
"b": 66
},
"hsl": {
"h": 322.597,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.33535,
"c": 0.12005,
"h": 347.4
},
"luminance": 0.03259
}Semantic roles & 50–950 ramp
primary
#5F1242
secondary
#36975A
accent
#EB7E3D
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B