#9C2E7E#9C2E7E
#9C2E7E is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.5% C 0.169 H 340.7°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2E7E |
|---|---|
| RGB | rgb(156, 46, 126) |
| HSL | hsl(316, 54%, 40%) |
| HSV | hsv(316, 71%, 61%) |
| CMYK | cmyk(0%, 70.5%, 19.2%, 38.8%) |
| CIE-LAB | lab(38.78, 53.42, -20.73) |
| CIE-LCH | lch(38.78, 57.30, 338.79°) |
| OKLab | oklab(49.45% 0.1594 -0.0558) |
| OKLCH | oklch(49.45% 0.169 340.7) |
| XYZ | xyz(18.4537, 10.5300, 20.7952) |
| Luminance | 0.1053 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.60
Red Violet
#9E0168
ΔE00 5.62
Light Eggplant
#894585
ΔE00 5.86
Barney Purple
#A00498
ΔE00 6.68
Bruise
#7E4071
ΔE00 6.83
Ugly Purple
#A442A0
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2E7E #2E9C4C
analogous
#832E9C #9C2E7E #9C2E47
triadic
#9C2E7E #7E9C2E #2E7E9C
tetradic
#9C2E7E #9C832E #2E9C4C #2E479C
square
#9C2E7E #9C832E #2E9C4C #2E479C
split-complementary
#9C2E7E #479C2E #2E9C83
monochromatic
#3D1232 #6D2058 #9C2E7E #C740A2 #D570B9
Accessibility & contrast
On white
6.76
#9C2E7E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#9C2E7E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C2E7E
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2E7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2E7E | 1.00 | 6.76 | 3.11 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#365080
Deuteranopia (green-blind)
#58627B
Tritanopia (blue-blind)
#A53152
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9c2e7e; /* rgb */ color: rgb(156, 46, 126); /* oklch */ color: oklch(49.5% 0.169 340.7);
Tailwind
colors: {
custom: {
50: '#bd70a3',
500: '#9c2e7e',
950: '#000000',
},
}SCSS
$custom: #9c2e7e; $custom-light: #bd70a3; $custom-dark: #000000;
JSON
{
"hex": "#9c2e7e",
"rgb": {
"r": 156,
"g": 46,
"b": 126
},
"hsl": {
"h": 316.364,
"s": 54.455,
"l": 39.608
},
"oklch": {
"l": 0.4945,
"c": 0.16886,
"h": 340.7
},
"luminance": 0.10528
}Semantic roles & 50–950 ramp
primary
#9C2E7E
secondary
#6ABC80
accent
#DE724A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F