#9F1988#9F1988
#9F1988 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.8% C 0.199 H 336.8°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1988 |
|---|---|
| RGB | rgb(159, 25, 136) |
| HSL | hsl(310, 73%, 36%) |
| HSV | hsv(310, 84%, 62%) |
| CMYK | cmyk(0%, 84.3%, 14.5%, 37.6%) |
| CIE-LAB | lab(37.56, 61.94, -28.77) |
| CIE-LCH | lch(37.56, 68.29, 335.09°) |
| OKLab | oklab(48.83% 0.1827 -0.0785) |
| OKLCH | oklch(48.83% 0.199 336.8) |
| XYZ | xyz(19.0900, 9.8456, 24.1828) |
| Luminance | 0.0984 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.13
Barney Purple
#A00498
ΔE00 3.36
Darkmagenta
#8B008B
ΔE00 5.56
Red Violet
#9E0168
ΔE00 6.66
Purple
#800080
ΔE00 7.21
Ugly Purple
#A442A0
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1988 #199F30
analogous
#73199F #9F1988 #9F1945
triadic
#9F1988 #889F19 #19889F
tetradic
#9F1988 #9F7319 #199F30 #19459F
square
#9F1988 #9F7319 #199F30 #19459F
split-complementary
#9F1988 #459F19 #199F73
monochromatic
#35082E #6A115B #9F1988 #D421B5 #E34FCA
Accessibility & contrast
On white
7.07
#9F1988 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#9F1988 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1988
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1988 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1988 | 1.00 | 7.07 | 2.97 | 7.07 |
| #FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D4C8B
Deuteranopia (green-blind)
#505F85
Tritanopia (blue-blind)
#A82551
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9f1988; /* rgb */ color: rgb(159, 25, 136); /* oklch */ color: oklch(48.8% 0.199 336.8);
Tailwind
colors: {
custom: {
50: '#bf69ab',
500: '#9f1988',
950: '#000000',
},
}SCSS
$custom: #9f1988; $custom-light: #bf69ab; $custom-dark: #000000;
JSON
{
"hex": "#9f1988",
"rgb": {
"r": 159,
"g": 25,
"b": 136
},
"hsl": {
"h": 310.299,
"s": 72.826,
"l": 36.078
},
"oklch": {
"l": 0.48832,
"c": 0.19882,
"h": 336.8
},
"luminance": 0.09844
}Semantic roles & 50–950 ramp
primary
#9F1988
secondary
#4EC663
accent
#F05838
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F