#9F1C7F#9F1C7F
#9F1C7F is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.5% C 0.191 H 340.5°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1C7F |
|---|---|
| RGB | rgb(159, 28, 127) |
| HSL | hsl(315, 70%, 37%) |
| HSV | hsv(315, 82%, 62%) |
| CMYK | cmyk(0%, 82.4%, 20.1%, 37.6%) |
| CIE-LAB | lab(37.36, 59.98, -23.50) |
| CIE-LCH | lch(37.36, 64.42, 338.60°) |
| OKLab | oklab(48.54% 0.1797 -0.0635) |
| OKLCH | oklch(48.54% 0.191 340.5) |
| XYZ | xyz(18.5447, 9.7357, 20.9771) |
| Luminance | 0.0973 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.47
Red Violet
#9E0168
ΔE00 4.90
Barney Purple
#A00498
ΔE00 5.29
Darkmagenta
#8B008B
ΔE00 6.90
Light Eggplant
#894585
ΔE00 7.50
Magenta (survey)
#C20078
ΔE00 7.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1C7F #1C9F3C
analogous
#7D1C9F #9F1C7F #9F1C3E
triadic
#9F1C7F #7F9F1C #1C7F9F
tetradic
#9F1C7F #9F7D1C #1C9F3C #1C3E9F
square
#9F1C7F #9F7D1C #1C9F3C #1C3E9F
split-complementary
#9F1C7F #3E9F1C #1C9F7D
monochromatic
#370A2C #6B1355 #9F1C7F #D325A9 #E154BF
Accessibility & contrast
On white
7.13
#9F1C7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#9F1C7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1C7F
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1C7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1C7F | 1.00 | 7.13 | 2.95 | 7.13 |
| #FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284B81
Deuteranopia (green-blind)
#545F7C
Tritanopia (blue-blind)
#A9214D
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9f1c7f; /* rgb */ color: rgb(159, 28, 127); /* oklch */ color: oklch(48.5% 0.191 340.5);
Tailwind
colors: {
custom: {
50: '#c06aa4',
500: '#9f1c7f',
950: '#000000',
},
}SCSS
$custom: #9f1c7f; $custom-light: #c06aa4; $custom-dark: #000000;
JSON
{
"hex": "#9f1c7f",
"rgb": {
"r": 159,
"g": 28,
"b": 127
},
"hsl": {
"h": 314.656,
"s": 70.053,
"l": 36.667
},
"oklch": {
"l": 0.48543,
"c": 0.19058,
"h": 340.5
},
"luminance": 0.09734
}Semantic roles & 50–950 ramp
primary
#9F1C7F
secondary
#53C46E
accent
#ED663B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F