#9F1C72#9F1C72
#9F1C72 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.9% C 0.183 H 346.3°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1C72 |
|---|---|
| RGB | rgb(159, 28, 114) |
| HSL | hsl(321, 70%, 37%) |
| HSV | hsv(321, 82%, 62%) |
| CMYK | cmyk(0%, 82.4%, 28.3%, 37.6%) |
| CIE-LAB | lab(36.78, 58.31, -16.27) |
| CIE-LCH | lch(36.78, 60.54, 344.41°) |
| OKLab | oklab(47.93% 0.1776 -0.0431) |
| OKLCH | oklch(47.93% 0.183 346.3) |
| XYZ | xyz(17.7515, 9.4184, 16.7994) |
| Luminance | 0.0942 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.48
Deep Magenta
#A0025C
ΔE00 5.10
Dark Fuchsia
#9D0759
ΔE00 5.64
Dark Magenta
#960056
ΔE00 6.01
Magenta (survey)
#C20078
ΔE00 6.63
Reddish Purple
#910951
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1C72 #1C9F49
analogous
#8B1C9F #9F1C72 #9F1C31
triadic
#9F1C72 #729F1C #1C729F
tetradic
#9F1C72 #9F8B1C #1C9F49 #1C319F
square
#9F1C72 #9F8B1C #1C9F49 #1C319F
split-complementary
#9F1C72 #319F1C #1C9F8B
monochromatic
#370A27 #6B134D #9F1C72 #D32597 #E154B1
Accessibility & contrast
On white
7.28
#9F1C72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#9F1C72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1C72
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1C72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1C72 | 1.00 | 7.28 | 2.88 | 7.28 |
| #FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#314874
Deuteranopia (green-blind)
#595E6F
Tritanopia (blue-blind)
#AA1746
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9f1c72; /* rgb */ color: rgb(159, 28, 114); /* oklch */ color: oklch(47.9% 0.183 346.3);
Tailwind
colors: {
custom: {
50: '#c0699a',
500: '#9f1c72',
950: '#000000',
},
}SCSS
$custom: #9f1c72; $custom-light: #c0699a; $custom-dark: #000000;
JSON
{
"hex": "#9f1c72",
"rgb": {
"r": 159,
"g": 28,
"b": 114
},
"hsl": {
"h": 320.611,
"s": 70.053,
"l": 36.667
},
"oklch": {
"l": 0.47929,
"c": 0.1828,
"h": 346.3
},
"luminance": 0.09416
}Semantic roles & 50–950 ramp
primary
#9F1C72
secondary
#53C47A
accent
#ED783B
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E