#9D2C79#9D2C79
#9D2C79 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.2% C 0.169 H 343.4°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2C79 |
|---|---|
| RGB | rgb(157, 44, 121) |
| HSL | hsl(319, 56%, 39%) |
| HSV | hsv(319, 72%, 62%) |
| CMYK | cmyk(0%, 72%, 22.9%, 38.4%) |
| CIE-LAB | lab(38.47, 53.72, -18.09) |
| CIE-LCH | lch(38.47, 56.69, 341.39°) |
| OKLab | oklab(49.19% 0.1617 -0.0484) |
| OKLCH | oklch(49.19% 0.169 343.4) |
| XYZ | xyz(18.2571, 10.3518, 19.1221) |
| Luminance | 0.1035 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.68
Warm Purple
#952E8F
ΔE00 5.75
Light Eggplant
#894585
ΔE00 6.66
Deep Magenta
#A0025C
ΔE00 6.95
Bruise
#7E4071
ΔE00 6.98
Magenta (survey)
#C20078
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2C79 #2C9D50
analogous
#892C9D #9D2C79 #9D2C41
triadic
#9D2C79 #799D2C #2C799D
tetradic
#9D2C79 #9D892C #2C9D50 #2C419D
square
#9D2C79 #9D892C #2C9D50 #2C419D
split-complementary
#9D2C79 #419D2C #2C9D89
monochromatic
#3D112F #6D1F54 #9D2C79 #C93D9C #D66DB5
Accessibility & contrast
On white
6.84
#9D2C79 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#9D2C79 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D2C79
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2C79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2C79 | 1.00 | 6.84 | 3.07 | 6.84 |
| #FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#374F7B
Deuteranopia (green-blind)
#5A6176
Tritanopia (blue-blind)
#A72C4E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9d2c79; /* rgb */ color: rgb(157, 44, 121); /* oklch */ color: oklch(49.2% 0.169 343.4);
Tailwind
colors: {
custom: {
50: '#be6fa0',
500: '#9d2c79',
950: '#000000',
},
}SCSS
$custom: #9d2c79; $custom-light: #be6fa0; $custom-dark: #000000;
JSON
{
"hex": "#9d2c79",
"rgb": {
"r": 157,
"g": 44,
"b": 121
},
"hsl": {
"h": 319.115,
"s": 56.219,
"l": 39.412
},
"oklch": {
"l": 0.49185,
"c": 0.16879,
"h": 343.4
},
"luminance": 0.1035
}Semantic roles & 50–950 ramp
primary
#9D2C79
secondary
#68BD83
accent
#E07848
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E