#9C1F76#9C1F76
#9C1F76 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.181 H 343.6°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #9C1F76 |
|---|---|
| RGB | rgb(156, 31, 118) |
| HSL | hsl(318, 67%, 37%) |
| HSV | hsv(318, 80%, 61%) |
| CMYK | cmyk(0%, 80.1%, 24.4%, 38.8%) |
| CIE-LAB | lab(36.66, 57.29, -19.01) |
| CIE-LCH | lch(36.66, 60.36, 341.64°) |
| OKLab | oklab(47.8% 0.1732 -0.0508) |
| OKLCH | oklch(47.8% 0.181 343.6) |
| XYZ | xyz(17.4710, 9.3578, 18.0222) |
| Luminance | 0.0936 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.39
Warm Purple
#952E8F
ΔE00 5.93
Deep Magenta
#A0025C
ΔE00 6.25
Dark Fuchsia
#9D0759
ΔE00 6.75
Dark Magenta
#960056
ΔE00 6.95
Barney Purple
#A00498
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C1F76 #1F9C45
analogous
#841F9C #9C1F76 #9C1F38
triadic
#9C1F76 #769C1F #1F769C
tetradic
#9C1F76 #9C841F #1F9C45 #1F389C
square
#9C1F76 #9C841F #1F9C45 #1F389C
split-complementary
#9C1F76 #389C1F #1F9C84
monochromatic
#360B29 #69154F #9C1F76 #CF299D #DE58B5
Accessibility & contrast
On white
7.31
#9C1F76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#9C1F76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C1F76
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C1F76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C1F76 | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4978
Deuteranopia (green-blind)
#565E73
Tritanopia (blue-blind)
#A71F49
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9c1f76; /* rgb */ color: rgb(156, 31, 118); /* oklch */ color: oklch(47.8% 0.181 343.6);
Tailwind
colors: {
custom: {
50: '#bd6a9d',
500: '#9c1f76',
950: '#000000',
},
}SCSS
$custom: #9c1f76; $custom-light: #bd6a9d; $custom-dark: #000000;
JSON
{
"hex": "#9c1f76",
"rgb": {
"r": 156,
"g": 31,
"b": 118
},
"hsl": {
"h": 318.24,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.478,
"c": 0.18052,
"h": 343.6
},
"luminance": 0.09356
}Semantic roles & 50–950 ramp
primary
#9C1F76
secondary
#55C176
accent
#EA723E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E