#9C2B7E#9C2B7E
#9C2B7E is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.2% C 0.173 H 340.5°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2B7E |
|---|---|
| RGB | rgb(156, 43, 126) |
| HSL | hsl(316, 57%, 39%) |
| HSV | hsv(316, 72%, 61%) |
| CMYK | cmyk(0%, 72.4%, 19.2%, 38.8%) |
| CIE-LAB | lab(38.38, 54.53, -21.34) |
| CIE-LCH | lch(38.38, 58.55, 338.62°) |
| OKLab | oklab(49.16% 0.1627 -0.0575) |
| OKLCH | oklch(49.16% 0.173 340.5) |
| XYZ | xyz(18.3406, 10.3038, 20.7575) |
| Luminance | 0.1030 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.44
Red Violet
#9E0168
ΔE00 5.40
Light Eggplant
#894585
ΔE00 6.12
Barney Purple
#A00498
ΔE00 6.34
Bruise
#7E4071
ΔE00 7.04
Ugly Purple
#A442A0
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2B7E #2B9C49
analogous
#822B9C #9C2B7E #9C2B46
triadic
#9C2B7E #7E9C2B #2B7E9C
tetradic
#9C2B7E #9C822B #2B9C49 #2B469C
square
#9C2B7E #9C822B #2B9C49 #2B469C
split-complementary
#9C2B7E #469C2B #2B9C82
monochromatic
#3C1131 #6C1E57 #9C2B7E #C93BA3 #D66BBA
Accessibility & contrast
On white
6.86
#9C2B7E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#9C2B7E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C2B7E
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2B7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2B7E | 1.00 | 6.86 | 3.06 | 6.86 |
| #FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#334F80
Deuteranopia (green-blind)
#57617B
Tritanopia (blue-blind)
#A52E51
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #9c2b7e; /* rgb */ color: rgb(156, 43, 126); /* oklch */ color: oklch(49.2% 0.173 340.5);
Tailwind
colors: {
custom: {
50: '#bd6fa3',
500: '#9c2b7e',
950: '#000000',
},
}SCSS
$custom: #9c2b7e; $custom-light: #bd6fa3; $custom-dark: #000000;
JSON
{
"hex": "#9c2b7e",
"rgb": {
"r": 156,
"g": 43,
"b": 126
},
"hsl": {
"h": 315.929,
"s": 56.784,
"l": 39.02
},
"oklch": {
"l": 0.49163,
"c": 0.1726,
"h": 340.5
},
"luminance": 0.10302
}Semantic roles & 50–950 ramp
primary
#9C2B7E
secondary
#66BD7D
accent
#E07048
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F