#9F1985#9F1985
#9F1985 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.7% C 0.197 H 338.0°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1985 |
|---|---|
| RGB | rgb(159, 25, 133) |
| HSL | hsl(312, 73%, 36%) |
| HSV | hsv(312, 84%, 62%) |
| CMYK | cmyk(0%, 84.3%, 16.4%, 37.6%) |
| CIE-LAB | lab(37.41, 61.52, -27.15) |
| CIE-LCH | lch(37.41, 67.24, 336.18°) |
| OKLab | oklab(48.67% 0.1825 -0.0739) |
| OKLCH | oklch(48.67% 0.197 338) |
| XYZ | xyz(18.8798, 9.7615, 23.0756) |
| Luminance | 0.0976 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.53
Barney Purple
#A00498
ΔE00 3.94
Darkmagenta
#8B008B
ΔE00 5.89
Red Violet
#9E0168
ΔE00 6.07
Purple
#800080
ΔE00 7.38
Light Eggplant
#894585
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1985 #199F33
analogous
#76199F #9F1985 #9F1942
triadic
#9F1985 #859F19 #19859F
tetradic
#9F1985 #9F7619 #199F33 #19429F
square
#9F1985 #9F7619 #199F33 #19429F
split-complementary
#9F1985 #429F19 #199F76
monochromatic
#35082D #6A1159 #9F1985 #D421B1 #E34FC7
Accessibility & contrast
On white
7.11
#9F1985 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#9F1985 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1985
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1985 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1985 | 1.00 | 7.11 | 2.95 | 7.11 |
| #FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#214B88
Deuteranopia (green-blind)
#515F82
Tritanopia (blue-blind)
#A82350
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9f1985; /* rgb */ color: rgb(159, 25, 133); /* oklch */ color: oklch(48.7% 0.197 338.0);
Tailwind
colors: {
custom: {
50: '#c069a9',
500: '#9f1985',
950: '#000000',
},
}SCSS
$custom: #9f1985; $custom-light: #c069a9; $custom-dark: #000000;
JSON
{
"hex": "#9f1985",
"rgb": {
"r": 159,
"g": 25,
"b": 133
},
"hsl": {
"h": 311.642,
"s": 72.826,
"l": 36.078
},
"oklch": {
"l": 0.48673,
"c": 0.19685,
"h": 338
},
"luminance": 0.0976
}Semantic roles & 50–950 ramp
primary
#9F1985
secondary
#4EC665
accent
#F05C38
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F