#9F1876#9F1876
#9F1876 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.9% C 0.188 H 344.3°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1876 |
|---|---|
| RGB | rgb(159, 24, 118) |
| HSL | hsl(318, 74%, 36%) |
| HSV | hsv(318, 85%, 62%) |
| CMYK | cmyk(0%, 84.9%, 25.8%, 37.6%) |
| CIE-LAB | lab(36.62, 59.77, -19.03) |
| CIE-LCH | lch(36.62, 62.72, 342.34°) |
| OKLab | oklab(47.87% 0.1813 -0.0508) |
| OKLCH | oklch(47.87% 0.188 344.3) |
| XYZ | xyz(17.8955, 9.3342, 17.9953) |
| Luminance | 0.0933 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.05
Deep Magenta
#A0025C
ΔE00 6.00
Warm Purple
#952E8F
ΔE00 6.25
Dark Fuchsia
#9D0759
ΔE00 6.56
Dark Magenta
#960056
ΔE00 6.79
Barney Purple
#A00498
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1876 #189F41
analogous
#84189F #9F1876 #9F1833
triadic
#9F1876 #769F18 #18769F
tetradic
#9F1876 #9F8418 #189F41 #18339F
square
#9F1876 #9F8418 #189F41 #18339F
split-complementary
#9F1876 #339F18 #189F84
monochromatic
#350827 #6A104F #9F1876 #D4209D #E44DB6
Accessibility & contrast
On white
7.33
#9F1876 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#9F1876 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1876
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1876 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1876 | 1.00 | 7.33 | 2.87 | 7.33 |
| #FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4878
Deuteranopia (green-blind)
#565E73
Tritanopia (blue-blind)
#AA1647
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9f1876; /* rgb */ color: rgb(159, 24, 118); /* oklch */ color: oklch(47.9% 0.188 344.3);
Tailwind
colors: {
custom: {
50: '#c0689d',
500: '#9f1876',
950: '#000000',
},
}SCSS
$custom: #9f1876; $custom-light: #c0689d; $custom-dark: #000000;
JSON
{
"hex": "#9f1876",
"rgb": {
"r": 159,
"g": 24,
"b": 118
},
"hsl": {
"h": 318.222,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.47872,
"c": 0.18833,
"h": 344.3
},
"luminance": 0.09332
}Semantic roles & 50–950 ramp
primary
#9F1876
secondary
#4DC672
accent
#F07037
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E