#9F187E#9F187E
#9F187E is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.3% C 0.193 H 340.9°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #9F187E |
|---|---|
| RGB | rgb(159, 24, 126) |
| HSL | hsl(315, 74%, 36%) |
| HSV | hsv(315, 85%, 62%) |
| CMYK | cmyk(0%, 84.9%, 20.8%, 37.6%) |
| CIE-LAB | lab(36.99, 60.79, -23.46) |
| CIE-LCH | lch(36.99, 65.16, 338.89°) |
| OKLab | oklab(48.26% 0.1825 -0.0633) |
| OKLCH | oklch(48.26% 0.193 340.9) |
| XYZ | xyz(18.3912, 9.5325, 20.6060) |
| Luminance | 0.0953 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.66
Warm Purple
#952E8F
ΔE00 4.71
Barney Purple
#A00498
ΔE00 5.33
Darkmagenta
#8B008B
ΔE00 6.79
Deep Magenta
#A0025C
ΔE00 7.71
Light Eggplant
#894585
ΔE00 7.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F187E #189F39
analogous
#7C189F #9F187E #9F183A
triadic
#9F187E #7E9F18 #187E9F
tetradic
#9F187E #9F7C18 #189F39 #183A9F
square
#9F187E #9F7C18 #189F39 #183A9F
split-complementary
#9F187E #3A9F18 #189F7C
monochromatic
#35082A #6A1054 #9F187E #D420A8 #E44DBF
Accessibility & contrast
On white
7.23
#9F187E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#9F187E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F187E
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F187E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F187E | 1.00 | 7.23 | 2.91 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#264A81
Deuteranopia (green-blind)
#545E7B
Tritanopia (blue-blind)
#A91D4C
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9f187e; /* rgb */ color: rgb(159, 24, 126); /* oklch */ color: oklch(48.3% 0.193 340.9);
Tailwind
colors: {
custom: {
50: '#c068a3',
500: '#9f187e',
950: '#000000',
},
}SCSS
$custom: #9f187e; $custom-light: #c068a3; $custom-dark: #000000;
JSON
{
"hex": "#9f187e",
"rgb": {
"r": 159,
"g": 24,
"b": 126
},
"hsl": {
"h": 314.667,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.48259,
"c": 0.19315,
"h": 340.9
},
"luminance": 0.09531
}Semantic roles & 50–950 ramp
primary
#9F187E
secondary
#4DC66A
accent
#F06537
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F