#9F175B#9F175B
#9F175B is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.7% C 0.176 H 357.2°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #9F175B |
|---|---|
| RGB | rgb(159, 23, 91) |
| HSL | hsl(330, 75%, 36%) |
| HSV | hsv(330, 86%, 62%) |
| CMYK | cmyk(0%, 85.5%, 42.8%, 37.6%) |
| CIE-LAB | lab(35.48, 56.99, -3.57) |
| CIE-LCH | lch(35.48, 57.10, 356.41°) |
| OKLab | oklab(46.7% 0.1756 -0.0087) |
| OKLCH | oklch(46.7% 0.176 357.2) |
| XYZ | xyz(16.4941, 8.7413, 10.7142) |
| Luminance | 0.0874 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Fuchsia
#9D0759
ΔE00 1.33
Deep Magenta
#A0025C
ΔE00 1.48
Violet Red
#A50055
ΔE00 2.13
Dark Magenta
#960056
ΔE00 2.83
Reddish Purple
#910951
ΔE00 3.35
Mulberry
#920A4E
ΔE00 3.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F175B #179F5B
analogous
#9F179F #9F175B #9F1717
triadic
#9F175B #5B9F17 #175B9F
tetradic
#9F175B #9F9F17 #179F5B #17179F
square
#9F175B #9F9F17 #179F5B #17179F
split-complementary
#9F175B #179F17 #179F9F
monochromatic
#34081E #6A0F3C #9F175B #D41F7A #E54B98
Accessibility & contrast
On white
7.64
#9F175B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#9F175B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F175B
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F175B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F175B | 1.00 | 7.64 | 2.75 | 7.64 |
| #FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#39435D
Deuteranopia (green-blind)
#5E5C58
Tritanopia (blue-blind)
#AD0038
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9f175b; /* rgb */ color: rgb(159, 23, 91); /* oklch */ color: oklch(46.7% 0.176 357.2);
Tailwind
colors: {
custom: {
50: '#c16789',
500: '#9f175b',
950: '#000000',
},
}SCSS
$custom: #9f175b; $custom-light: #c16789; $custom-dark: #000000;
JSON
{
"hex": "#9f175b",
"rgb": {
"r": 159,
"g": 23,
"b": 91
},
"hsl": {
"h": 330,
"s": 74.725,
"l": 35.686
},
"oklch": {
"l": 0.46701,
"c": 0.1758,
"h": 357.2
},
"luminance": 0.08739
}Semantic roles & 50–950 ramp
primary
#9F175B
secondary
#4BC789
accent
#F19436
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070B
muted
#827A7C