#5F1542#5F1542
#5F1542 is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.8% C 0.116 H 347.8°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1542 |
|---|---|
| RGB | rgb(95, 21, 66) |
| HSL | hsl(324, 64%, 23%) |
| HSV | hsv(324, 78%, 37%) |
| CMYK | cmyk(0%, 77.9%, 30.5%, 62.7%) |
| CIE-LAB | lab(21.44, 37.37, -9.32) |
| CIE-LCH | lch(21.44, 38.52, 346.00°) |
| OKLab | oklab(33.82% 0.1138 -0.0245) |
| OKLCH | oklch(33.82% 0.116 347.8) |
| XYZ | xyz(5.9711, 3.3632, 5.4879) |
| Luminance | 0.0336 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 2.15
Velvet
#750851
ΔE00 4.88
Grape Purple
#5D1451
ΔE00 4.93
Rich Purple
#720058
ΔE00 6.09
Merlot
#730039
ΔE00 6.53
Dark Plum
#3F012C
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1542 #155F32
analogous
#57155F #5F1542 #5F151D
triadic
#5F1542 #425F15 #15425F
tetradic
#5F1542 #5F5715 #155F32 #151D5F
square
#5F1542 #5F5715 #155F32 #151D5F
split-complementary
#5F1542 #1D5F15 #155F57
monochromatic
#190611 #2D0A1F #5F1542 #912065 #C32B88
Accessibility & contrast
On white
12.56
#5F1542 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#5F1542 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1542
12.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1542 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1542 | 1.00 | 12.56 | 1.67 | 12.56 |
| #FFFFFF | 12.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#202B43
Deuteranopia (green-blind)
#353840
Tritanopia (blue-blind)
#661229
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #5f1542; /* rgb */ color: rgb(95, 21, 66); /* oklch */ color: oklch(33.8% 0.116 347.8);
Tailwind
colors: {
custom: {
50: '#905a76',
500: '#5f1542',
950: '#000000',
},
}SCSS
$custom: #5f1542; $custom-light: #905a76; $custom-dark: #000000;
JSON
{
"hex": "#5f1542",
"rgb": {
"r": 95,
"g": 21,
"b": 66
},
"hsl": {
"h": 323.514,
"s": 63.793,
"l": 22.745
},
"oklch": {
"l": 0.33818,
"c": 0.11637,
"h": 347.8
},
"luminance": 0.03363
}Semantic roles & 50–950 ramp
primary
#5F1542
secondary
#3A965E
accent
#E78241
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B