#9C1A82#9C1A82
#9C1A82 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 48.1% C 0.193 H 338.2°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #9C1A82 |
|---|---|
| RGB | rgb(156, 26, 130) |
| HSL | hsl(312, 71%, 36%) |
| HSV | hsv(312, 83%, 61%) |
| CMYK | cmyk(0%, 83.3%, 16.7%, 38.8%) |
| CIE-LAB | lab(36.78, 60.21, -26.32) |
| CIE-LCH | lch(36.78, 65.71, 336.39°) |
| OKLab | oklab(48.07% 0.1787 -0.0715) |
| OKLCH | oklch(48.07% 0.193 338.2) |
| XYZ | xyz(18.1094, 9.4202, 21.9793) |
| Luminance | 0.0942 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.68
Barney Purple
#A00498
ΔE00 4.30
Red Violet
#9E0168
ΔE00 5.71
Darkmagenta
#8B008B
ΔE00 5.72
Purple
#800080
ΔE00 7.03
Light Eggplant
#894585
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C1A82 #1A9C34
analogous
#751A9C #9C1A82 #9C1A41
triadic
#9C1A82 #829C1A #1A829C
tetradic
#9C1A82 #9C751A #1A9C34 #1A419C
square
#9C1A82 #9C751A #1A9C34 #1A419C
split-complementary
#9C1A82 #419C1A #1A9C75
monochromatic
#33092B #681156 #9C1A82 #D023AE #E24FC4
Accessibility & contrast
On white
7.28
#9C1A82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#9C1A82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C1A82
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C1A82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C1A82 | 1.00 | 7.28 | 2.88 | 7.28 |
| #FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#224A85
Deuteranopia (green-blind)
#505D7F
Tritanopia (blue-blind)
#A5234E
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9c1a82; /* rgb */ color: rgb(156, 26, 130); /* oklch */ color: oklch(48.1% 0.193 338.2);
Tailwind
colors: {
custom: {
50: '#bd69a6',
500: '#9c1a82',
950: '#000000',
},
}SCSS
$custom: #9c1a82; $custom-light: #bd69a6; $custom-dark: #000000;
JSON
{
"hex": "#9c1a82",
"rgb": {
"r": 156,
"g": 26,
"b": 130
},
"hsl": {
"h": 312,
"s": 71.429,
"l": 35.686
},
"oklch": {
"l": 0.48069,
"c": 0.19251,
"h": 338.2
},
"luminance": 0.09418
}Semantic roles & 50–950 ramp
primary
#9C1A82
secondary
#4EC465
accent
#EE5E3A
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F