#9C1F85#9C1F85
#9C1F85 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.5% C 0.190 H 337.0°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #9C1F85 |
|---|---|
| RGB | rgb(156, 31, 133) |
| HSL | hsl(311, 67%, 37%) |
| HSV | hsv(311, 80%, 61%) |
| CMYK | cmyk(0%, 80.1%, 14.7%, 38.8%) |
| CIE-LAB | lab(37.38, 59.35, -27.25) |
| CIE-LCH | lch(37.38, 65.30, 335.34°) |
| OKLab | oklab(48.55% 0.1751 -0.0742) |
| OKLCH | oklch(48.55% 0.19 337) |
| XYZ | xyz(18.4343, 9.7431, 23.0955) |
| Luminance | 0.0974 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.02
Barney Purple
#A00498
ΔE00 3.96
Darkmagenta
#8B008B
ΔE00 5.73
Red Violet
#9E0168
ΔE00 6.33
Light Eggplant
#894585
ΔE00 6.95
Purple
#800080
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C1F85 #1F9C36
analogous
#751F9C #9C1F85 #9C1F47
triadic
#9C1F85 #859C1F #1F859C
tetradic
#9C1F85 #9C751F #1F9C36 #1F479C
square
#9C1F85 #9C751F #1F9C36 #1F479C
split-complementary
#9C1F85 #479C1F #1F9C75
monochromatic
#360B2E #691559 #9C1F85 #CF29B1 #DE58C5
Accessibility & contrast
On white
7.12
#9C1F85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#9C1F85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C1F85
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C1F85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C1F85 | 1.00 | 7.12 | 2.95 | 7.12 |
| #FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234C88
Deuteranopia (green-blind)
#505F82
Tritanopia (blue-blind)
#A52851
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9c1f85; /* rgb */ color: rgb(156, 31, 133); /* oklch */ color: oklch(48.5% 0.190 337.0);
Tailwind
colors: {
custom: {
50: '#bd6aa9',
500: '#9c1f85',
950: '#000000',
},
}SCSS
$custom: #9c1f85; $custom-light: #bd6aa9; $custom-dark: #000000;
JSON
{
"hex": "#9c1f85",
"rgb": {
"r": 156,
"g": 31,
"b": 133
},
"hsl": {
"h": 311.04,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.48546,
"c": 0.19019,
"h": 337
},
"luminance": 0.09741
}Semantic roles & 50–950 ramp
primary
#9C1F85
secondary
#55C169
accent
#EA5E3E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F