#9C2D7D#9C2D7D
#9C2D7D is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.3% C 0.169 H 341.1°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #9C2D7D |
|---|---|
| RGB | rgb(156, 45, 125) |
| HSL | hsl(317, 55%, 39%) |
| HSV | hsv(317, 71%, 61%) |
| CMYK | cmyk(0%, 71.2%, 19.9%, 38.8%) |
| CIE-LAB | lab(38.60, 53.65, -20.39) |
| CIE-LCH | lch(38.60, 57.39, 339.19°) |
| OKLab | oklab(49.31% 0.1603 -0.0548) |
| OKLCH | oklch(49.31% 0.169 341.1) |
| XYZ | xyz(18.3509, 10.4271, 20.4442) |
| Luminance | 0.1042 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.76
Red Violet
#9E0168
ΔE00 5.38
Light Eggplant
#894585
ΔE00 6.03
Barney Purple
#A00498
ΔE00 6.76
Bruise
#7E4071
ΔE00 6.86
Ugly Purple
#A442A0
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C2D7D #2D9C4C
analogous
#842D9C #9C2D7D #9C2D45
triadic
#9C2D7D #7D9C2D #2D7D9C
tetradic
#9C2D7D #9C842D #2D9C4C #2D459C
square
#9C2D7D #9C842D #2D9C4C #2D459C
split-complementary
#9C2D7D #459C2D #2D9C84
monochromatic
#3D1231 #6D1F57 #9C2D7D #C83FA1 #D56EB8
Accessibility & contrast
On white
6.81
#9C2D7D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#9C2D7D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C2D7D
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C2D7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C2D7D | 1.00 | 6.81 | 3.09 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#354F7F
Deuteranopia (green-blind)
#58617A
Tritanopia (blue-blind)
#A52F51
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9c2d7d; /* rgb */ color: rgb(156, 45, 125); /* oklch */ color: oklch(49.3% 0.169 341.1);
Tailwind
colors: {
custom: {
50: '#bd70a3',
500: '#9c2d7d',
950: '#000000',
},
}SCSS
$custom: #9c2d7d; $custom-light: #bd70a3; $custom-dark: #000000;
JSON
{
"hex": "#9c2d7d",
"rgb": {
"r": 156,
"g": 45,
"b": 125
},
"hsl": {
"h": 316.757,
"s": 55.224,
"l": 39.412
},
"oklch": {
"l": 0.49305,
"c": 0.16945,
"h": 341.1
},
"luminance": 0.10425
}Semantic roles & 50–950 ramp
primary
#9C2D7D
secondary
#68BC80
accent
#DF7349
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#12080F
muted
#817B7F