#9D2C7E#9D2C7E
#9D2C7E is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.4% C 0.172 H 341.0°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2C7E |
|---|---|
| RGB | rgb(157, 44, 126) |
| HSL | hsl(316, 56%, 39%) |
| HSV | hsv(316, 72%, 62%) |
| CMYK | cmyk(0%, 72%, 19.7%, 38.4%) |
| CIE-LAB | lab(38.69, 54.42, -20.86) |
| CIE-LCH | lch(38.69, 58.28, 339.03°) |
| OKLab | oklab(49.42% 0.1626 -0.0561) |
| OKLCH | oklch(49.42% 0.172 341) |
| XYZ | xyz(18.5717, 10.4776, 20.7789) |
| Luminance | 0.1048 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.64
Red Violet
#9E0168
ΔE00 5.43
Light Eggplant
#894585
ΔE00 6.14
Barney Purple
#A00498
ΔE00 6.55
Bruise
#7E4071
ΔE00 7.08
Ugly Purple
#A442A0
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2C7E #2C9D4B
analogous
#842C9D #9D2C7E #9D2C46
triadic
#9D2C7E #7E9D2C #2C7E9D
tetradic
#9D2C7E #9D842C #2C9D4B #2C469D
square
#9D2C7E #9D842C #2C9D4B #2C469D
split-complementary
#9D2C7E #469D2C #2C9D84
monochromatic
#3D1131 #6D1F58 #9D2C7E #C93DA3 #D66DB9
Accessibility & contrast
On white
6.78
#9D2C7E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#9D2C7E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D2C7E
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2C7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2C7E | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#354F80
Deuteranopia (green-blind)
#58627B
Tritanopia (blue-blind)
#A72E51
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9d2c7e; /* rgb */ color: rgb(157, 44, 126); /* oklch */ color: oklch(49.4% 0.172 341.0);
Tailwind
colors: {
custom: {
50: '#bd6fa3',
500: '#9d2c7e',
950: '#000000',
},
}SCSS
$custom: #9d2c7e; $custom-light: #bd6fa3; $custom-dark: #000000;
JSON
{
"hex": "#9d2c7e",
"rgb": {
"r": 157,
"g": 44,
"b": 126
},
"hsl": {
"h": 316.46,
"s": 56.219,
"l": 39.412
},
"oklch": {
"l": 0.49417,
"c": 0.17205,
"h": 341
},
"luminance": 0.10476
}Semantic roles & 50–950 ramp
primary
#9D2C7E
secondary
#68BD7F
accent
#E07248
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F