#9C2082#9C2082
#9C2082 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.5% C 0.187 H 338.3°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2082 |
|---|---|
| RGB | rgb(156, 32, 130) |
| HSL | hsl(313, 66%, 37%) |
| HSV | hsv(313, 79%, 61%) |
| CMYK | cmyk(0%, 79.5%, 16.7%, 38.8%) |
| CIE-LAB | lab(37.32, 58.64, -25.47) |
| CIE-LCH | lch(37.32, 63.93, 336.52°) |
| OKLab | oklab(48.46% 0.174 -0.0691) |
| OKLCH | oklch(48.46% 0.187 338.3) |
| XYZ | xyz(18.2565, 9.7144, 22.0284) |
| Luminance | 0.0971 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.51
Barney Purple
#A00498
ΔE00 4.61
Red Violet
#9E0168
ΔE00 5.75
Darkmagenta
#8B008B
ΔE00 6.20
Light Eggplant
#894585
ΔE00 6.92
Purple
#800080
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2082 #209C3A
analogous
#78209C #9C2082 #9C2044
triadic
#9C2082 #829C20 #20829C
tetradic
#9C2082 #9C7820 #209C3A #20449C
square
#9C2082 #9C7820 #209C3A #20449C
split-complementary
#9C2082 #449C20 #209C78
monochromatic
#360B2D #691658 #9C2082 #CF2AAC #DD59C1
Accessibility & contrast
On white
7.14
#9C2082 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#9C2082 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C2082
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2082 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2082 | 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)
#274C85
Deuteranopia (green-blind)
#525F7F
Tritanopia (blue-blind)
#A52750
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9c2082; /* rgb */ color: rgb(156, 32, 130); /* oklch */ color: oklch(48.5% 0.187 338.3);
Tailwind
colors: {
custom: {
50: '#bd6ba6',
500: '#9c2082',
950: '#000000',
},
}SCSS
$custom: #9c2082; $custom-light: #bd6ba6; $custom-dark: #000000;
JSON
{
"hex": "#9c2082",
"rgb": {
"r": 156,
"g": 32,
"b": 130
},
"hsl": {
"h": 312.581,
"s": 65.957,
"l": 36.863
},
"oklch": {
"l": 0.4846,
"c": 0.18723,
"h": 338.3
},
"luminance": 0.09713
}Semantic roles & 50–950 ramp
primary
#9C2082
secondary
#57C16D
accent
#E9633F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F