#9F1572#9F1572
#9F1572 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.5% C 0.188 H 346.0°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1572 |
|---|---|
| RGB | rgb(159, 21, 114) |
| HSL | hsl(320, 77%, 35%) |
| HSV | hsv(320, 87%, 62%) |
| CMYK | cmyk(0%, 86.8%, 28.3%, 37.6%) |
| CIE-LAB | lab(36.22, 59.92, -17.13) |
| CIE-LCH | lch(36.22, 62.32, 344.05°) |
| OKLab | oklab(47.53% 0.1827 -0.0455) |
| OKLCH | oklch(47.53% 0.188 346) |
| XYZ | xyz(17.6044, 9.1242, 16.7504) |
| Luminance | 0.0912 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.21
Deep Magenta
#A0025C
ΔE00 5.15
Dark Fuchsia
#9D0759
ΔE00 5.70
Dark Magenta
#960056
ΔE00 5.95
Magenta (survey)
#C20078
ΔE00 6.91
Warm Purple
#952E8F
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1572 #159F42
analogous
#87159F #9F1572 #9F152D
triadic
#9F1572 #729F15 #15729F
tetradic
#9F1572 #9F8715 #159F42 #152D9F
square
#9F1572 #9F8715 #159F42 #152D9F
split-complementary
#9F1572 #2D9F15 #159F87
monochromatic
#330724 #690E4B #9F1572 #D51C99 #E748B3
Accessibility & contrast
On white
7.44
#9F1572 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#9F1572 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1572
7.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1572 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1572 | 1.00 | 7.44 | 2.82 | 7.44 |
| #FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4774
Deuteranopia (green-blind)
#575D6F
Tritanopia (blue-blind)
#AB0F44
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #9f1572; /* rgb */ color: rgb(159, 21, 114); /* oklch */ color: oklch(47.5% 0.188 346.0);
Tailwind
colors: {
custom: {
50: '#c0679a',
500: '#9f1572',
950: '#000000',
},
}SCSS
$custom: #9f1572; $custom-light: #c0679a; $custom-dark: #000000;
JSON
{
"hex": "#9f1572",
"rgb": {
"r": 159,
"g": 21,
"b": 114
},
"hsl": {
"h": 319.565,
"s": 76.667,
"l": 35.294
},
"oklch": {
"l": 0.47528,
"c": 0.18823,
"h": 346
},
"luminance": 0.09122
}Semantic roles & 50–950 ramp
primary
#9F1572
secondary
#48C872
accent
#F37335
background
#FCF6F9
surface
#F8EBF2
border
#D1C6CC
text
#13070E
muted
#827A7E