#5F1240#5F1240
#5F1240 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.4% C 0.119 H 349.0°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1240 |
|---|---|
| RGB | rgb(95, 18, 64) |
| HSL | hsl(324, 68%, 22%) |
| HSV | hsv(324, 81%, 37%) |
| CMYK | cmyk(0%, 81.1%, 32.6%, 62.7%) |
| CIE-LAB | lab(20.97, 38.20, -8.67) |
| CIE-LCH | lch(20.97, 39.17, 347.22°) |
| OKLab | oklab(33.44% 0.1167 -0.0227) |
| OKLCH | oklch(33.44% 0.119 349) |
| XYZ | xyz(5.8613, 3.2364, 5.1655) |
| Luminance | 0.0324 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 2.28
Velvet
#750851
ΔE00 4.96
Grape Purple
#5D1451
ΔE00 5.32
Merlot
#730039
ΔE00 6.13
Rich Purple
#720058
ΔE00 6.26
Dark Plum
#3F012C
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1240 #125F31
analogous
#58125F #5F1240 #5F1219
triadic
#5F1240 #405F12 #12405F
tetradic
#5F1240 #5F5812 #125F31 #12195F
square
#5F1240 #5F5812 #125F31 #12195F
split-complementary
#5F1240 #195F12 #125F58
monochromatic
#1A0511 #2C081D #5F1240 #921C63 #C62585
Accessibility & contrast
On white
12.75
#5F1240 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#5F1240 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1240
12.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1240 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1240 | 1.00 | 12.75 | 1.65 | 12.75 |
| #FFFFFF | 12.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E2A41
Deuteranopia (green-blind)
#35373E
Tritanopia (blue-blind)
#660E27
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #5f1240; /* rgb */ color: rgb(95, 18, 64); /* oklch */ color: oklch(33.4% 0.119 349.0);
Tailwind
colors: {
custom: {
50: '#905974',
500: '#5f1240',
950: '#000000',
},
}SCSS
$custom: #5f1240; $custom-light: #905974; $custom-dark: #000000;
JSON
{
"hex": "#5f1240",
"rgb": {
"r": 95,
"g": 18,
"b": 64
},
"hsl": {
"h": 324.156,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.33442,
"c": 0.11885,
"h": 349
},
"luminance": 0.03236
}Semantic roles & 50–950 ramp
primary
#5F1240
secondary
#36975D
accent
#EB833D
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B