#9C1F82#9C1F82
#9C1F82 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.4% C 0.188 H 338.3°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #9C1F82 |
|---|---|
| RGB | rgb(156, 31, 130) |
| HSL | hsl(312, 67%, 37%) |
| HSV | hsv(312, 80%, 61%) |
| CMYK | cmyk(0%, 80.1%, 16.7%, 38.8%) |
| CIE-LAB | lab(37.23, 58.92, -25.62) |
| CIE-LCH | lch(37.23, 64.25, 336.50°) |
| OKLab | oklab(48.39% 0.1748 -0.0696) |
| OKLCH | oklch(48.39% 0.188 338.3) |
| XYZ | xyz(18.2300, 9.6614, 22.0195) |
| Luminance | 0.0966 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.53
Barney Purple
#A00498
ΔE00 4.55
Red Violet
#9E0168
ΔE00 5.73
Darkmagenta
#8B008B
ΔE00 6.11
Light Eggplant
#894585
ΔE00 7.01
Purple
#800080
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C1F82 #1F9C39
analogous
#781F9C #9C1F82 #9C1F44
triadic
#9C1F82 #829C1F #1F829C
tetradic
#9C1F82 #9C781F #1F9C39 #1F449C
square
#9C1F82 #9C781F #1F9C39 #1F449C
split-complementary
#9C1F82 #449C1F #1F9C78
monochromatic
#360B2D #691557 #9C1F82 #CF29AD #DE58C2
Accessibility & contrast
On white
7.16
#9C1F82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#9C1F82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C1F82
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C1F82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C1F82 | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#264B85
Deuteranopia (green-blind)
#515E7F
Tritanopia (blue-blind)
#A5264F
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9c1f82; /* rgb */ color: rgb(156, 31, 130); /* oklch */ color: oklch(48.4% 0.188 338.3);
Tailwind
colors: {
custom: {
50: '#bd6aa6',
500: '#9c1f82',
950: '#000000',
},
}SCSS
$custom: #9c1f82; $custom-light: #bd6aa6; $custom-dark: #000000;
JSON
{
"hex": "#9c1f82",
"rgb": {
"r": 156,
"g": 31,
"b": 130
},
"hsl": {
"h": 312.48,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.4839,
"c": 0.18817,
"h": 338.3
},
"luminance": 0.0966
}Semantic roles & 50–950 ramp
primary
#9C1F82
secondary
#55C16C
accent
#EA623E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F