#5F1438#5F1438
#5F1438 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.3% C 0.112 H 355.9°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1438 |
|---|---|
| RGB | rgb(95, 20, 56) |
| HSL | hsl(331, 65%, 23%) |
| HSV | hsv(331, 79%, 37%) |
| CMYK | cmyk(0%, 78.9%, 41.1%, 62.7%) |
| CIE-LAB | lab(20.90, 36.46, -3.21) |
| CIE-LCH | lch(20.90, 36.60, 354.97°) |
| OKLab | oklab(33.29% 0.1119 -0.008) |
| OKLCH | oklch(33.29% 0.112 355.9) |
| XYZ | xyz(5.6837, 3.2194, 4.0627) |
| Luminance | 0.0322 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Merlot
#730039
ΔE00 4.64
Plum (survey)
#580F41
ΔE00 4.94
Wine (survey)
#80013F
ΔE00 6.82
Velvet
#750851
ΔE00 6.84
Red Purple
#820747
ΔE00 6.96
Burgundy (survey)
#610023
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1438 #145F3B
analogous
#5F145D #5F1438 #5F1614
triadic
#5F1438 #385F14 #14385F
tetradic
#5F1438 #5D5F14 #145F3B #16145F
square
#5F1438 #5D5F14 #145F3B #16145F
split-complementary
#5F1438 #145F16 #145D5F
monochromatic
#19050F #2C091A #5F1438 #921F56 #C42974
Accessibility & contrast
On white
12.78
#5F1438 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#5F1438 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1438
12.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1438 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1438 | 1.00 | 12.78 | 1.64 | 12.78 |
| #FFFFFF | 12.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#232939
Deuteranopia (green-blind)
#383736
Tritanopia (blue-blind)
#670B24
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #5f1438; /* rgb */ color: rgb(95, 20, 56); /* oklch */ color: oklch(33.3% 0.112 355.9);
Tailwind
colors: {
custom: {
50: '#90596e',
500: '#5f1438',
950: '#000000',
},
}SCSS
$custom: #5f1438; $custom-light: #90596e; $custom-dark: #000000;
JSON
{
"hex": "#5f1438",
"rgb": {
"r": 95,
"g": 20,
"b": 56
},
"hsl": {
"h": 331.2,
"s": 65.217,
"l": 22.549
},
"oklch": {
"l": 0.33289,
"c": 0.11221,
"h": 355.9
},
"luminance": 0.03219
}Semantic roles & 50–950 ramp
primary
#5F1438
secondary
#389769
accent
#E89740
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0407
muted
#7E797A