#9C2B7D#9C2B7D
#9C2B7D is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.1% C 0.172 H 341.0°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2B7D |
|---|---|
| RGB | rgb(156, 43, 125) |
| HSL | hsl(316, 57%, 39%) |
| HSV | hsv(316, 72%, 61%) |
| CMYK | cmyk(0%, 72.4%, 19.9%, 38.8%) |
| CIE-LAB | lab(38.34, 54.38, -20.79) |
| CIE-LCH | lch(38.34, 58.22, 339.07°) |
| OKLab | oklab(49.11% 0.1626 -0.056) |
| OKLCH | oklch(49.11% 0.172 341) |
| XYZ | xyz(18.2764, 10.2781, 20.4194) |
| Luminance | 0.1028 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.66
Red Violet
#9E0168
ΔE00 5.23
Light Eggplant
#894585
ΔE00 6.20
Barney Purple
#A00498
ΔE00 6.54
Bruise
#7E4071
ΔE00 7.00
Ugly Purple
#A442A0
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2B7D #2B9C4A
analogous
#832B9C #9C2B7D #9C2B45
triadic
#9C2B7D #7D9C2B #2B7D9C
tetradic
#9C2B7D #9C832B #2B9C4A #2B459C
square
#9C2B7D #9C832B #2B9C4A #2B459C
split-complementary
#9C2B7D #459C2B #2B9C83
monochromatic
#3C1130 #6C1E57 #9C2B7D #C93BA2 #D66BB9
Accessibility & contrast
On white
6.87
#9C2B7D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#9C2B7D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C2B7D
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2B7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2B7D | 1.00 | 6.87 | 3.06 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#344F7F
Deuteranopia (green-blind)
#57617A
Tritanopia (blue-blind)
#A62D50
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #9c2b7d; /* rgb */ color: rgb(156, 43, 125); /* oklch */ color: oklch(49.1% 0.172 341.0);
Tailwind
colors: {
custom: {
50: '#bd6fa3',
500: '#9c2b7d',
950: '#000000',
},
}SCSS
$custom: #9c2b7d; $custom-light: #bd6fa3; $custom-dark: #000000;
JSON
{
"hex": "#9c2b7d",
"rgb": {
"r": 156,
"g": 43,
"b": 125
},
"hsl": {
"h": 316.46,
"s": 56.784,
"l": 39.02
},
"oklch": {
"l": 0.49115,
"c": 0.17193,
"h": 341
},
"luminance": 0.10276
}Semantic roles & 50–950 ramp
primary
#9C2B7D
secondary
#66BD7E
accent
#E07248
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#12080F
muted
#817B7F