#9F187F#9F187F
#9F187F is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.3% C 0.194 H 340.4°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #9F187F |
|---|---|
| RGB | rgb(159, 24, 127) |
| HSL | hsl(314, 74%, 36%) |
| HSV | hsv(314, 85%, 62%) |
| CMYK | cmyk(0%, 84.9%, 20.1%, 37.6%) |
| CIE-LAB | lab(37.04, 60.92, -24.01) |
| CIE-LCH | lch(37.04, 65.49, 338.49°) |
| OKLab | oklab(48.31% 0.1826 -0.0649) |
| OKLCH | oklch(48.31% 0.194 340.4) |
| XYZ | xyz(18.4561, 9.5585, 20.9476) |
| Luminance | 0.0956 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.53
Red Violet
#9E0168
ΔE00 4.86
Barney Purple
#A00498
ΔE00 5.12
Darkmagenta
#8B008B
ΔE00 6.64
Light Eggplant
#894585
ΔE00 7.77
Purple
#800080
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F187F #189F38
analogous
#7B189F #9F187F #9F183C
triadic
#9F187F #7F9F18 #187F9F
tetradic
#9F187F #9F7B18 #189F38 #183C9F
square
#9F187F #9F7B18 #189F38 #183C9F
split-complementary
#9F187F #3C9F18 #189F7B
monochromatic
#35082A #6A1055 #9F187F #D420A9 #E44DC0
Accessibility & contrast
On white
7.21
#9F187F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#9F187F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F187F
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F187F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F187F | 1.00 | 7.21 | 2.91 | 7.21 |
| #FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254A82
Deuteranopia (green-blind)
#535F7C
Tritanopia (blue-blind)
#A91E4C
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9f187f; /* rgb */ color: rgb(159, 24, 127); /* oklch */ color: oklch(48.3% 0.194 340.4);
Tailwind
colors: {
custom: {
50: '#c068a4',
500: '#9f187f',
950: '#000000',
},
}SCSS
$custom: #9f187f; $custom-light: #c068a4; $custom-dark: #000000;
JSON
{
"hex": "#9f187f",
"rgb": {
"r": 159,
"g": 24,
"b": 127
},
"hsl": {
"h": 314.222,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.48309,
"c": 0.19377,
"h": 340.4
},
"luminance": 0.09557
}Semantic roles & 50–950 ramp
primary
#9F187F
secondary
#4DC669
accent
#F06337
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F