#9C1F83#9C1F83
#9C1F83 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.4% C 0.189 H 337.9°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #9C1F83 |
|---|---|
| RGB | rgb(156, 31, 131) |
| HSL | hsl(312, 67%, 37%) |
| HSV | hsv(312, 80%, 61%) |
| CMYK | cmyk(0%, 80.1%, 16%, 38.8%) |
| CIE-LAB | lab(37.28, 59.06, -26.16) |
| CIE-LCH | lch(37.28, 64.60, 336.11°) |
| OKLab | oklab(48.44% 0.1749 -0.0711) |
| OKLCH | oklch(48.44% 0.189 337.9) |
| XYZ | xyz(18.2974, 9.6884, 22.3747) |
| Luminance | 0.0969 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.36
Barney Purple
#A00498
ΔE00 4.35
Red Violet
#9E0168
ΔE00 5.93
Darkmagenta
#8B008B
ΔE00 5.98
Light Eggplant
#894585
ΔE00 6.98
Purple
#800080
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C1F83 #1F9C38
analogous
#771F9C #9C1F83 #9C1F45
triadic
#9C1F83 #839C1F #1F839C
tetradic
#9C1F83 #9C771F #1F9C38 #1F459C
square
#9C1F83 #9C771F #1F9C38 #1F459C
split-complementary
#9C1F83 #459C1F #1F9C77
monochromatic
#360B2D #691558 #9C1F83 #CF29AE #DE58C3
Accessibility & contrast
On white
7.15
#9C1F83 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#9C1F83 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C1F83
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C1F83 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C1F83 | 1.00 | 7.15 | 2.94 | 7.15 |
| #FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254C86
Deuteranopia (green-blind)
#515E80
Tritanopia (blue-blind)
#A52750
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9c1f83; /* rgb */ color: rgb(156, 31, 131); /* oklch */ color: oklch(48.4% 0.189 337.9);
Tailwind
colors: {
custom: {
50: '#bd6aa7',
500: '#9c1f83',
950: '#000000',
},
}SCSS
$custom: #9c1f83; $custom-light: #bd6aa7; $custom-dark: #000000;
JSON
{
"hex": "#9c1f83",
"rgb": {
"r": 156,
"g": 31,
"b": 131
},
"hsl": {
"h": 312,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.48442,
"c": 0.18883,
"h": 337.9
},
"luminance": 0.09687
}Semantic roles & 50–950 ramp
primary
#9C1F83
secondary
#55C16B
accent
#EA603E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F