#9C2F82#9C2F82
#9C2F82 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.7% C 0.170 H 338.9°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2F82 |
|---|---|
| RGB | rgb(156, 47, 130) |
| HSL | hsl(314, 54%, 40%) |
| HSV | hsv(314, 70%, 61%) |
| CMYK | cmyk(0%, 69.9%, 16.7%, 38.8%) |
| CIE-LAB | lab(39.10, 53.62, -22.71) |
| CIE-LCH | lch(39.10, 58.23, 337.04°) |
| OKLab | oklab(49.74% 0.1589 -0.0614) |
| OKLCH | oklch(49.74% 0.17 338.9) |
| XYZ | xyz(18.7565, 10.7144, 22.1950) |
| Luminance | 0.1071 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.81
Light Eggplant
#894585
ΔE00 5.47
Barney Purple
#A00498
ΔE00 6.05
Red Violet
#9E0168
ΔE00 6.34
Ugly Purple
#A442A0
ΔE00 6.52
Bruise
#7E4071
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2F82 #2F9C49
analogous
#802F9C #9C2F82 #9C2F4B
triadic
#9C2F82 #829C2F #2F829C
tetradic
#9C2F82 #9C802F #2F9C49 #2F4B9C
square
#9C2F82 #9C802F #2F9C49 #2F4B9C
split-complementary
#9C2F82 #4B9C2F #2F9C80
monochromatic
#3E1334 #6D215B #9C2F82 #C642A7 #D471BD
Accessibility & contrast
On white
6.68
#9C2F82 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#9C2F82 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C2F82
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2F82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2F82 | 1.00 | 6.68 | 3.14 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#345184
Deuteranopia (green-blind)
#57627F
Tritanopia (blue-blind)
#A53354
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #9c2f82; /* rgb */ color: rgb(156, 47, 130); /* oklch */ color: oklch(49.7% 0.170 338.9);
Tailwind
colors: {
custom: {
50: '#bd71a6',
500: '#9c2f82',
950: '#000000',
},
}SCSS
$custom: #9c2f82; $custom-light: #bd71a6; $custom-dark: #000000;
JSON
{
"hex": "#9c2f82",
"rgb": {
"r": 156,
"g": 47,
"b": 130
},
"hsl": {
"h": 314.312,
"s": 53.695,
"l": 39.804
},
"oklch": {
"l": 0.49741,
"c": 0.17034,
"h": 338.9
},
"luminance": 0.10713
}Semantic roles & 50–950 ramp
primary
#9C2F82
secondary
#6BBC7E
accent
#DD6E4B
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F