#9D2D77#9D2D77
#9D2D77 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.2% C 0.166 H 344.4°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2D77 |
|---|---|
| RGB | rgb(157, 45, 119) |
| HSL | hsl(320, 55%, 40%) |
| HSV | hsv(320, 71%, 62%) |
| CMYK | cmyk(0%, 71.3%, 24.2%, 38.4%) |
| CIE-LAB | lab(38.51, 53.08, -16.77) |
| CIE-LCH | lch(38.51, 55.67, 342.46°) |
| OKLab | oklab(49.19% 0.1602 -0.0447) |
| OKLCH | oklch(49.19% 0.166 344.4) |
| XYZ | xyz(18.1735, 10.3787, 18.4954) |
| Luminance | 0.1038 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.54
Warm Purple
#952E8F
ΔE00 6.27
Deep Magenta
#A0025C
ΔE00 6.60
Magenta (survey)
#C20078
ΔE00 6.85
Light Eggplant
#894585
ΔE00 6.85
Bruise
#7E4071
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2D77 #2D9D53
analogous
#8B2D9D #9D2D77 #9D2D3F
triadic
#9D2D77 #779D2D #2D779D
tetradic
#9D2D77 #9D8B2D #2D9D53 #2D3F9D
square
#9D2D77 #9D8B2D #2D9D53 #2D3F9D
split-complementary
#9D2D77 #3F9D2D #2D9D8B
monochromatic
#3E122F #6D1F53 #9D2D77 #C83F9A #D66FB3
Accessibility & contrast
On white
6.83
#9D2D77 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#9D2D77 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D2D77
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2D77 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2D77 | 1.00 | 6.83 | 3.08 | 6.83 |
| #FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#394F79
Deuteranopia (green-blind)
#5B6174
Tritanopia (blue-blind)
#A72C4E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9d2d77; /* rgb */ color: rgb(157, 45, 119); /* oklch */ color: oklch(49.2% 0.166 344.4);
Tailwind
colors: {
custom: {
50: '#be709e',
500: '#9d2d77',
950: '#000000',
},
}SCSS
$custom: #9d2d77; $custom-light: #be709e; $custom-dark: #000000;
JSON
{
"hex": "#9d2d77",
"rgb": {
"r": 157,
"g": 45,
"b": 119
},
"hsl": {
"h": 320.357,
"s": 55.446,
"l": 39.608
},
"oklch": {
"l": 0.49192,
"c": 0.16629,
"h": 344.4
},
"luminance": 0.10377
}Semantic roles & 50–950 ramp
primary
#9D2D77
secondary
#69BD85
accent
#DF7C49
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E