#9F1D7F#9F1D7F
#9F1D7F is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.6% C 0.190 H 340.6°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1D7F |
|---|---|
| RGB | rgb(159, 29, 127) |
| HSL | hsl(315, 69%, 37%) |
| HSV | hsv(315, 82%, 62%) |
| CMYK | cmyk(0%, 81.8%, 20.1%, 37.6%) |
| CIE-LAB | lab(37.45, 59.73, -23.37) |
| CIE-LCH | lch(37.45, 64.14, 338.63°) |
| OKLab | oklab(48.61% 0.1789 -0.0631) |
| OKLCH | oklch(48.61% 0.19 340.6) |
| XYZ | xyz(18.5688, 9.7839, 20.9851) |
| Luminance | 0.0978 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.46
Red Violet
#9E0168
ΔE00 4.91
Barney Purple
#A00498
ΔE00 5.35
Darkmagenta
#8B008B
ΔE00 6.98
Light Eggplant
#894585
ΔE00 7.43
Magenta (survey)
#C20078
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1D7F #1D9F3D
analogous
#7E1D9F #9F1D7F #9F1D3E
triadic
#9F1D7F #7F9F1D #1D7F9F
tetradic
#9F1D7F #9F7E1D #1D9F3D #1D3E9F
square
#9F1D7F #9F7E1D #1D9F3D #1D3E9F
split-complementary
#9F1D7F #3E9F1D #1D9F7E
monochromatic
#370A2C #6B1456 #9F1D7F #D326A8 #E056BE
Accessibility & contrast
On white
7.10
#9F1D7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#9F1D7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1D7F
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1D7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1D7F | 1.00 | 7.10 | 2.96 | 7.10 |
| #FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#294B81
Deuteranopia (green-blind)
#545F7C
Tritanopia (blue-blind)
#A9214D
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9f1d7f; /* rgb */ color: rgb(159, 29, 127); /* oklch */ color: oklch(48.6% 0.190 340.6);
Tailwind
colors: {
custom: {
50: '#c06aa4',
500: '#9f1d7f',
950: '#000000',
},
}SCSS
$custom: #9f1d7f; $custom-light: #c06aa4; $custom-dark: #000000;
JSON
{
"hex": "#9f1d7f",
"rgb": {
"r": 159,
"g": 29,
"b": 127
},
"hsl": {
"h": 314.769,
"s": 69.149,
"l": 36.863
},
"oklch": {
"l": 0.48607,
"c": 0.18973,
"h": 340.6
},
"luminance": 0.09782
}Semantic roles & 50–950 ramp
primary
#9F1D7F
secondary
#54C470
accent
#EC673C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F