#9C2E7D#9C2E7D
#9C2E7D is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.4% C 0.168 H 341.2°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2E7D |
|---|---|
| RGB | rgb(156, 46, 125) |
| HSL | hsl(317, 54%, 40%) |
| HSV | hsv(317, 71%, 61%) |
| CMYK | cmyk(0%, 70.5%, 19.9%, 38.8%) |
| CIE-LAB | lab(38.73, 53.27, -20.18) |
| CIE-LCH | lch(38.73, 56.97, 339.25°) |
| OKLab | oklab(49.4% 0.1592 -0.0543) |
| OKLCH | oklch(49.4% 0.168 341.2) |
| XYZ | xyz(18.3895, 10.5044, 20.4571) |
| Luminance | 0.1050 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.83
Red Violet
#9E0168
ΔE00 5.46
Light Eggplant
#894585
ΔE00 5.95
Bruise
#7E4071
ΔE00 6.79
Barney Purple
#A00498
ΔE00 6.88
Ugly Purple
#A442A0
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2E7D #2E9C4D
analogous
#842E9C #9C2E7D #9C2E46
triadic
#9C2E7D #7D9C2E #2E7D9C
tetradic
#9C2E7D #9C842E #2E9C4D #2E469C
square
#9C2E7D #9C842E #2E9C4D #2E469C
split-complementary
#9C2E7D #469C2E #2E9C84
monochromatic
#3D1231 #6D2057 #9C2E7D #C740A1 #D570B8
Accessibility & contrast
On white
6.77
#9C2E7D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#9C2E7D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C2E7D
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2E7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2E7D | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#36507F
Deuteranopia (green-blind)
#59627A
Tritanopia (blue-blind)
#A53051
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9c2e7d; /* rgb */ color: rgb(156, 46, 125); /* oklch */ color: oklch(49.4% 0.168 341.2);
Tailwind
colors: {
custom: {
50: '#bd70a3',
500: '#9c2e7d',
950: '#000000',
},
}SCSS
$custom: #9c2e7d; $custom-light: #bd70a3; $custom-dark: #000000;
JSON
{
"hex": "#9c2e7d",
"rgb": {
"r": 156,
"g": 46,
"b": 125
},
"hsl": {
"h": 316.909,
"s": 54.455,
"l": 39.608
},
"oklch": {
"l": 0.49403,
"c": 0.16818,
"h": 341.2
},
"luminance": 0.10503
}Semantic roles & 50–950 ramp
primary
#9C2E7D
secondary
#6ABC81
accent
#DE744A
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#12080F
muted
#817B7F