#9F1857#9F1857
#9F1857 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.6% C 0.174 H 359.3°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1857 |
|---|---|
| RGB | rgb(159, 24, 87) |
| HSL | hsl(332, 74%, 36%) |
| HSV | hsv(332, 85%, 62%) |
| CMYK | cmyk(0%, 84.9%, 45.3%, 37.6%) |
| CIE-LAB | lab(35.43, 56.38, -1.07) |
| CIE-LCH | lch(35.43, 56.39, 358.91°) |
| OKLab | oklab(46.62% 0.1736 -0.0021) |
| OKLCH | oklch(46.62% 0.174 359.3) |
| XYZ | xyz(16.3463, 8.7146, 9.8363) |
| Luminance | 0.0871 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 1.50
Dark Fuchsia
#9D0759
ΔE00 2.00
Deep Magenta
#A0025C
ΔE00 2.38
Berry
#990F4B
ΔE00 2.80
Mulberry
#920A4E
ΔE00 3.17
Dark Magenta
#960056
ΔE00 3.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1857 #189F60
analogous
#9F189A #9F1857 #9F1D18
triadic
#9F1857 #579F18 #18579F
tetradic
#9F1857 #9A9F18 #189F60 #1D189F
square
#9F1857 #9A9F18 #189F60 #1D189F
split-complementary
#9F1857 #189F1D #189A9F
monochromatic
#35081D #6A103A #9F1857 #D42074 #E44D94
Accessibility & contrast
On white
7.66
#9F1857 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#9F1857 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1857
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1857 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1857 | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A4358
Deuteranopia (green-blind)
#5F5C54
Tritanopia (blue-blind)
#AD0036
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9f1857; /* rgb */ color: rgb(159, 24, 87); /* oklch */ color: oklch(46.6% 0.174 359.3);
Tailwind
colors: {
custom: {
50: '#c16786',
500: '#9f1857',
950: '#000000',
},
}SCSS
$custom: #9f1857; $custom-light: #c16786; $custom-dark: #000000;
JSON
{
"hex": "#9f1857",
"rgb": {
"r": 159,
"g": 24,
"b": 87
},
"hsl": {
"h": 332,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.46619,
"c": 0.17358,
"h": 359.3
},
"luminance": 0.08712
}Semantic roles & 50–950 ramp
primary
#9F1857
secondary
#4DC68D
accent
#F09A37
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C