#5F1232#5F1232
#5F1232 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.9% C 0.112 H 0.6°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1232 |
|---|---|
| RGB | rgb(95, 18, 50) |
| HSL | hsl(335, 68%, 22%) |
| HSV | hsv(335, 81%, 37%) |
| CMYK | cmyk(0%, 81.1%, 47.4%, 62.7%) |
| CIE-LAB | lab(20.43, 36.52, 0.29) |
| CIE-LCH | lch(20.43, 36.52, 0.46°) |
| OKLab | oklab(32.87% 0.1121 0.0012) |
| OKLCH | oklch(32.87% 0.112 0.6) |
| XYZ | xyz(5.5118, 3.0965, 3.3244) |
| Luminance | 0.0310 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Merlot
#730039
ΔE00 4.29
Burgundy (survey)
#610023
ΔE00 5.01
Maroon (survey)
#650021
ΔE00 6.44
Wine (survey)
#80013F
ΔE00 6.57
Plum (survey)
#580F41
ΔE00 6.82
Red Purple
#820747
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1232 #125F3F
analogous
#5F1259 #5F1232 #5F1912
triadic
#5F1232 #325F12 #12325F
tetradic
#5F1232 #595F12 #125F3F #19125F
square
#5F1232 #595F12 #125F3F #19125F
split-complementary
#5F1232 #125F19 #12595F
monochromatic
#1A050E #2C0817 #5F1232 #921C4D #C62568
Accessibility & contrast
On white
12.97
#5F1232 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#5F1232 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1232
12.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1232 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1232 | 1.00 | 12.97 | 1.62 | 12.97 |
| #FFFFFF | 12.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#242833
Deuteranopia (green-blind)
#383730
Tritanopia (blue-blind)
#680420
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #5f1232; /* rgb */ color: rgb(95, 18, 50); /* oklch */ color: oklch(32.9% 0.112 0.6);
Tailwind
colors: {
custom: {
50: '#915869',
500: '#5f1232',
950: '#000000',
},
}SCSS
$custom: #5f1232; $custom-light: #915869; $custom-dark: #000000;
JSON
{
"hex": "#5f1232",
"rgb": {
"r": 95,
"g": 18,
"b": 50
},
"hsl": {
"h": 335.065,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.3287,
"c": 0.11213,
"h": 0.6
},
"luminance": 0.03096
}Semantic roles & 50–950 ramp
primary
#5F1232
secondary
#36976F
accent
#EBA33D
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0406
muted
#7E797A