#9C1F7E#9C1F7E
#9C1F7E is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.2% C 0.186 H 340.0°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #9C1F7E |
|---|---|
| RGB | rgb(156, 31, 126) |
| HSL | hsl(314, 67%, 37%) |
| HSV | hsv(314, 80%, 61%) |
| CMYK | cmyk(0%, 80.1%, 19.2%, 38.8%) |
| CIE-LAB | lab(37.03, 58.36, -23.44) |
| CIE-LCH | lch(37.03, 62.89, 338.12°) |
| OKLab | oklab(48.19% 0.1744 -0.0634) |
| OKLCH | oklch(48.19% 0.186 340) |
| XYZ | xyz(17.9667, 9.5561, 20.6329) |
| Luminance | 0.0955 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.28
Red Violet
#9E0168
ΔE00 4.94
Barney Purple
#A00498
ΔE00 5.36
Darkmagenta
#8B008B
ΔE00 6.70
Light Eggplant
#894585
ΔE00 7.17
Purple
#800080
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C1F7E #1F9C3D
analogous
#7C1F9C #9C1F7E #9C1F40
triadic
#9C1F7E #7E9C1F #1F7E9C
tetradic
#9C1F7E #9C7C1F #1F9C3D #1F409C
square
#9C1F7E #9C7C1F #1F9C3D #1F409C
split-complementary
#9C1F7E #409C1F #1F9C7C
monochromatic
#360B2C #691555 #9C1F7E #CF29A7 #DE58BE
Accessibility & contrast
On white
7.21
#9C1F7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#9C1F7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C1F7E
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C1F7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C1F7E | 1.00 | 7.21 | 2.91 | 7.21 |
| #FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#294B80
Deuteranopia (green-blind)
#535E7B
Tritanopia (blue-blind)
#A6244D
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9c1f7e; /* rgb */ color: rgb(156, 31, 126); /* oklch */ color: oklch(48.2% 0.186 340.0);
Tailwind
colors: {
custom: {
50: '#bd6aa3',
500: '#9c1f7e',
950: '#000000',
},
}SCSS
$custom: #9c1f7e; $custom-light: #bd6aa3; $custom-dark: #000000;
JSON
{
"hex": "#9c1f7e",
"rgb": {
"r": 156,
"g": 31,
"b": 126
},
"hsl": {
"h": 314.4,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.48187,
"c": 0.18553,
"h": 340
},
"luminance": 0.09554
}Semantic roles & 50–950 ramp
primary
#9C1F7E
secondary
#55C16F
accent
#EA673E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F