#9F1858#9F1858
#9F1858 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.7% C 0.174 H 358.8°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1858 |
|---|---|
| RGB | rgb(159, 24, 88) |
| HSL | hsl(332, 74%, 36%) |
| HSV | hsv(332, 85%, 62%) |
| CMYK | cmyk(0%, 84.9%, 44.7%, 37.6%) |
| CIE-LAB | lab(35.46, 56.47, -1.67) |
| CIE-LCH | lch(35.46, 56.50, 358.31°) |
| OKLab | oklab(46.65% 0.1739 -0.0037) |
| OKLCH | oklch(46.65% 0.174 358.8) |
| XYZ | xyz(16.3875, 8.7310, 10.0530) |
| Luminance | 0.0873 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 1.61
Dark Fuchsia
#9D0759
ΔE00 1.81
Deep Magenta
#A0025C
ΔE00 2.15
Berry
#990F4B
ΔE00 3.03
Dark Magenta
#960056
ΔE00 3.20
Mulberry
#920A4E
ΔE00 3.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1858 #189F5F
analogous
#9F189B #9F1858 #9F1C18
triadic
#9F1858 #589F18 #18589F
tetradic
#9F1858 #9B9F18 #189F5F #1C189F
square
#9F1858 #9B9F18 #189F5F #1C189F
split-complementary
#9F1858 #189F1C #189B9F
monochromatic
#35081D #6A103B #9F1858 #D42075 #E44D95
Accessibility & contrast
On white
7.65
#9F1858 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#9F1858 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1858
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1858 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1858 | 1.00 | 7.65 | 2.75 | 7.65 |
| #FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A4359
Deuteranopia (green-blind)
#5E5C55
Tritanopia (blue-blind)
#AD0037
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9f1858; /* rgb */ color: rgb(159, 24, 88); /* oklch */ color: oklch(46.7% 0.174 358.8);
Tailwind
colors: {
custom: {
50: '#c16787',
500: '#9f1858',
950: '#000000',
},
}SCSS
$custom: #9f1858; $custom-light: #c16787; $custom-dark: #000000;
JSON
{
"hex": "#9f1858",
"rgb": {
"r": 159,
"g": 24,
"b": 88
},
"hsl": {
"h": 331.556,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.46654,
"c": 0.17394,
"h": 358.8
},
"luminance": 0.08729
}Semantic roles & 50–950 ramp
primary
#9F1858
secondary
#4DC68D
accent
#F09937
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C