#9D2D76#9D2D76
#9D2D76 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.1% C 0.166 H 344.9°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2D76 |
|---|---|
| RGB | rgb(157, 45, 118) |
| HSL | hsl(321, 55%, 40%) |
| HSV | hsv(321, 71%, 62%) |
| CMYK | cmyk(0%, 71.3%, 24.8%, 38.4%) |
| CIE-LAB | lab(38.47, 52.94, -16.22) |
| CIE-LCH | lch(38.47, 55.37, 342.97°) |
| OKLab | oklab(49.15% 0.16 -0.0431) |
| OKLCH | oklch(49.15% 0.166 344.9) |
| XYZ | xyz(18.1137, 10.3548, 18.1808) |
| Luminance | 0.1035 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.43
Deep Magenta
#A0025C
ΔE00 6.41
Warm Purple
#952E8F
ΔE00 6.51
Magenta (survey)
#C20078
ΔE00 6.78
Dark Fuchsia
#9D0759
ΔE00 6.86
Bruise
#7E4071
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2D76 #2D9D54
analogous
#8C2D9D #9D2D76 #9D2D3E
triadic
#9D2D76 #769D2D #2D769D
tetradic
#9D2D76 #9D8C2D #2D9D54 #2D3E9D
square
#9D2D76 #9D8C2D #2D9D54 #2D3E9D
split-complementary
#9D2D76 #3E9D2D #2D9D8C
monochromatic
#3E122E #6D1F52 #9D2D76 #C83F98 #D66FB2
Accessibility & contrast
On white
6.84
#9D2D76 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#9D2D76 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D2D76
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2D76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2D76 | 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)
#3A4F78
Deuteranopia (green-blind)
#5B6173
Tritanopia (blue-blind)
#A72C4D
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9d2d76; /* rgb */ color: rgb(157, 45, 118); /* oklch */ color: oklch(49.1% 0.166 344.9);
Tailwind
colors: {
custom: {
50: '#be709d',
500: '#9d2d76',
950: '#000000',
},
}SCSS
$custom: #9d2d76; $custom-light: #be709d; $custom-dark: #000000;
JSON
{
"hex": "#9d2d76",
"rgb": {
"r": 157,
"g": 45,
"b": 118
},
"hsl": {
"h": 320.893,
"s": 55.446,
"l": 39.608
},
"oklch": {
"l": 0.49147,
"c": 0.16566,
"h": 344.9
},
"luminance": 0.10353
}Semantic roles & 50–950 ramp
primary
#9D2D76
secondary
#69BD86
accent
#DF7D49
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E