#9F1872#9F1872
#9F1872 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.7% C 0.186 H 346.1°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1872 |
|---|---|
| RGB | rgb(159, 24, 114) |
| HSL | hsl(320, 74%, 36%) |
| HSV | hsv(320, 85%, 62%) |
| CMYK | cmyk(0%, 84.9%, 28.3%, 37.6%) |
| CIE-LAB | lab(36.44, 59.27, -16.78) |
| CIE-LCH | lch(36.44, 61.60, 344.19°) |
| OKLab | oklab(47.69% 0.1806 -0.0445) |
| OKLCH | oklch(47.69% 0.186 346.1) |
| XYZ | xyz(17.6629, 9.2412, 16.7699) |
| Luminance | 0.0924 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.30
Deep Magenta
#A0025C
ΔE00 5.12
Dark Fuchsia
#9D0759
ΔE00 5.67
Dark Magenta
#960056
ΔE00 5.97
Magenta (survey)
#C20078
ΔE00 6.80
Warm Purple
#952E8F
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1872 #189F45
analogous
#88189F #9F1872 #9F182E
triadic
#9F1872 #729F18 #18729F
tetradic
#9F1872 #9F8818 #189F45 #182E9F
square
#9F1872 #9F8818 #189F45 #182E9F
split-complementary
#9F1872 #2E9F18 #189F88
monochromatic
#350826 #6A104C #9F1872 #D42098 #E44DB2
Accessibility & contrast
On white
7.37
#9F1872 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#9F1872 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1872
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1872 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1872 | 1.00 | 7.37 | 2.85 | 7.37 |
| #FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4774
Deuteranopia (green-blind)
#585E6F
Tritanopia (blue-blind)
#AA1245
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9f1872; /* rgb */ color: rgb(159, 24, 114); /* oklch */ color: oklch(47.7% 0.186 346.1);
Tailwind
colors: {
custom: {
50: '#c0689a',
500: '#9f1872',
950: '#000000',
},
}SCSS
$custom: #9f1872; $custom-light: #c0689a; $custom-dark: #000000;
JSON
{
"hex": "#9f1872",
"rgb": {
"r": 159,
"g": 24,
"b": 114
},
"hsl": {
"h": 320,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.47689,
"c": 0.18605,
"h": 346.1
},
"luminance": 0.09239
}Semantic roles & 50–950 ramp
primary
#9F1872
secondary
#4DC675
accent
#F07537
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E