#9F1885#9F1885
#9F1885 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.6% C 0.198 H 337.9°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1885 |
|---|---|
| RGB | rgb(159, 24, 133) |
| HSL | hsl(312, 74%, 36%) |
| HSV | hsv(312, 85%, 62%) |
| CMYK | cmyk(0%, 84.9%, 16.4%, 37.6%) |
| CIE-LAB | lab(37.33, 61.74, -27.27) |
| CIE-LCH | lch(37.33, 67.49, 336.17°) |
| OKLab | oklab(48.62% 0.1831 -0.0742) |
| OKLCH | oklch(48.62% 0.198 337.9) |
| XYZ | xyz(18.8588, 9.7195, 23.0686) |
| Luminance | 0.0972 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.56
Barney Purple
#A00498
ΔE00 3.90
Darkmagenta
#8B008B
ΔE00 5.83
Red Violet
#9E0168
ΔE00 6.07
Purple
#800080
ΔE00 7.32
Light Eggplant
#894585
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1885 #189F32
analogous
#75189F #9F1885 #9F1841
triadic
#9F1885 #859F18 #18859F
tetradic
#9F1885 #9F7518 #189F32 #18419F
square
#9F1885 #9F7518 #189F32 #18419F
split-complementary
#9F1885 #419F18 #189F75
monochromatic
#35082C #6A1059 #9F1885 #D420B1 #E44DC7
Accessibility & contrast
On white
7.13
#9F1885 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#9F1885 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1885
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1885 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1885 | 1.00 | 7.13 | 2.94 | 7.13 |
| #FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#204B88
Deuteranopia (green-blind)
#515F82
Tritanopia (blue-blind)
#A82250
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9f1885; /* rgb */ color: rgb(159, 24, 133); /* oklch */ color: oklch(48.6% 0.198 337.9);
Tailwind
colors: {
custom: {
50: '#c069a9',
500: '#9f1885',
950: '#000000',
},
}SCSS
$custom: #9f1885; $custom-light: #c069a9; $custom-dark: #000000;
JSON
{
"hex": "#9f1885",
"rgb": {
"r": 159,
"g": 24,
"b": 133
},
"hsl": {
"h": 311.556,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.48618,
"c": 0.1976,
"h": 337.9
},
"luminance": 0.09718
}Semantic roles & 50–950 ramp
primary
#9F1885
secondary
#4DC664
accent
#F05B37
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F