#9C1F84#9C1F84
#9C1F84 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.5% C 0.190 H 337.5°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #9C1F84 |
|---|---|
| RGB | rgb(156, 31, 132) |
| HSL | hsl(312, 67%, 37%) |
| HSV | hsv(312, 80%, 61%) |
| CMYK | cmyk(0%, 80.1%, 15.4%, 38.8%) |
| CIE-LAB | lab(37.33, 59.20, -26.71) |
| CIE-LCH | lch(37.33, 64.95, 335.72°) |
| OKLab | oklab(48.49% 0.175 -0.0727) |
| OKLCH | oklch(48.49% 0.19 337.5) |
| XYZ | xyz(18.3655, 9.7156, 22.7334) |
| Luminance | 0.0971 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.19
Barney Purple
#A00498
ΔE00 4.16
Darkmagenta
#8B008B
ΔE00 5.85
Red Violet
#9E0168
ΔE00 6.13
Light Eggplant
#894585
ΔE00 6.96
Purple
#800080
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C1F84 #1F9C37
analogous
#761F9C #9C1F84 #9C1F46
triadic
#9C1F84 #849C1F #1F849C
tetradic
#9C1F84 #9C761F #1F9C37 #1F469C
square
#9C1F84 #9C761F #1F9C37 #1F469C
split-complementary
#9C1F84 #469C1F #1F9C76
monochromatic
#360B2E #691559 #9C1F84 #CF29AF #DE58C4
Accessibility & contrast
On white
7.14
#9C1F84 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#9C1F84 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C1F84
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C1F84 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C1F84 | 1.00 | 7.14 | 2.94 | 7.14 |
| #FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#244C87
Deuteranopia (green-blind)
#515F81
Tritanopia (blue-blind)
#A52750
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9c1f84; /* rgb */ color: rgb(156, 31, 132); /* oklch */ color: oklch(48.5% 0.190 337.5);
Tailwind
colors: {
custom: {
50: '#bd6aa8',
500: '#9c1f84',
950: '#000000',
},
}SCSS
$custom: #9c1f84; $custom-light: #bd6aa8; $custom-dark: #000000;
JSON
{
"hex": "#9c1f84",
"rgb": {
"r": 156,
"g": 31,
"b": 132
},
"hsl": {
"h": 311.52,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.48494,
"c": 0.18951,
"h": 337.5
},
"luminance": 0.09714
}Semantic roles & 50–950 ramp
primary
#9C1F84
secondary
#55C16A
accent
#EA5F3E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F