#9C1F71#9C1F71
#9C1F71 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.6% C 0.178 H 346.0°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #9C1F71 |
|---|---|
| RGB | rgb(156, 31, 113) |
| HSL | hsl(321, 67%, 37%) |
| HSV | hsv(321, 80%, 61%) |
| CMYK | cmyk(0%, 80.1%, 27.6%, 38.8%) |
| CIE-LAB | lab(36.45, 56.65, -16.20) |
| CIE-LCH | lch(36.45, 58.92, 344.04°) |
| OKLab | oklab(47.57% 0.1723 -0.043) |
| OKLCH | oklch(47.57% 0.178 346) |
| XYZ | xyz(17.1817, 9.2421, 16.4987) |
| Luminance | 0.0924 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.55
Deep Magenta
#A0025C
ΔE00 5.16
Dark Fuchsia
#9D0759
ΔE00 5.65
Dark Magenta
#960056
ΔE00 5.92
Reddish Purple
#910951
ΔE00 6.96
Warm Purple
#952E8F
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C1F71 #1F9C4A
analogous
#891F9C #9C1F71 #9C1F33
triadic
#9C1F71 #719C1F #1F719C
tetradic
#9C1F71 #9C891F #1F9C4A #1F339C
square
#9C1F71 #9C891F #1F9C4A #1F339C
split-complementary
#9C1F71 #339C1F #1F9C89
monochromatic
#360B27 #69154C #9C1F71 #CF2996 #DE58B0
Accessibility & contrast
On white
7.37
#9C1F71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#9C1F71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C1F71
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C1F71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C1F71 | 1.00 | 7.37 | 2.85 | 7.37 |
| #FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#314873
Deuteranopia (green-blind)
#575D6E
Tritanopia (blue-blind)
#A71B46
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9c1f71; /* rgb */ color: rgb(156, 31, 113); /* oklch */ color: oklch(47.6% 0.178 346.0);
Tailwind
colors: {
custom: {
50: '#bd6a9a',
500: '#9c1f71',
950: '#000000',
},
}SCSS
$custom: #9c1f71; $custom-light: #bd6a9a; $custom-dark: #000000;
JSON
{
"hex": "#9c1f71",
"rgb": {
"r": 156,
"g": 31,
"b": 113
},
"hsl": {
"h": 320.64,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.47571,
"c": 0.17756,
"h": 346
},
"luminance": 0.0924
}Semantic roles & 50–950 ramp
primary
#9C1F71
secondary
#55C17B
accent
#EA793E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E