#5F1747#5F1747
#5F1747 is a dark, moderate pink. Relative luminance 0.035; OKLCH L 34.3% C 0.117 H 344.2°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1747 |
|---|---|
| RGB | rgb(95, 23, 71) |
| HSL | hsl(320, 61%, 23%) |
| HSV | hsv(320, 76%, 37%) |
| CMYK | cmyk(0%, 75.8%, 25.3%, 62.7%) |
| CIE-LAB | lab(21.95, 37.30, -11.97) |
| CIE-LCH | lch(21.95, 39.18, 342.21°) |
| OKLab | oklab(34.26% 0.1125 -0.0319) |
| OKLCH | oklch(34.26% 0.117 344.2) |
| XYZ | xyz(6.1633, 3.5013, 6.3112) |
| Luminance | 0.0350 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 1.90
Grape Purple
#5D1451
ΔE00 3.56
Velvet
#750851
ΔE00 4.60
Rich Purple
#720058
ΔE00 5.25
Deep Violet
#490648
ΔE00 7.07
Grape
#6C3461
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1747 #175F2F
analogous
#53175F #5F1747 #5F1723
triadic
#5F1747 #475F17 #17475F
tetradic
#5F1747 #5F5317 #175F2F #17235F
square
#5F1747 #5F5317 #175F2F #17235F
split-complementary
#5F1747 #235F17 #175F53
monochromatic
#190612 #2E0B22 #5F1747 #90236C #C22F91
Accessibility & contrast
On white
12.35
#5F1747 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#5F1747 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1747
12.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1747 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1747 | 1.00 | 12.35 | 1.70 | 12.35 |
| #FFFFFF | 12.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F2D48
Deuteranopia (green-blind)
#353945
Tritanopia (blue-blind)
#66172C
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #5f1747; /* rgb */ color: rgb(95, 23, 71); /* oklch */ color: oklch(34.3% 0.117 344.2);
Tailwind
colors: {
custom: {
50: '#8f5b7a',
500: '#5f1747',
950: '#000000',
},
}SCSS
$custom: #5f1747; $custom-light: #8f5b7a; $custom-dark: #000000;
JSON
{
"hex": "#5f1747",
"rgb": {
"r": 95,
"g": 23,
"b": 71
},
"hsl": {
"h": 320,
"s": 61.017,
"l": 23.137
},
"oklch": {
"l": 0.34261,
"c": 0.11697,
"h": 344.2
},
"luminance": 0.03501
}Semantic roles & 50–950 ramp
primary
#5F1747
secondary
#3C965A
accent
#E47944
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B