#9D2D71#9D2D71
#9D2D71 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.9% C 0.163 H 347.5°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2D71 |
|---|---|
| RGB | rgb(157, 45, 113) |
| HSL | hsl(324, 55%, 40%) |
| HSV | hsv(324, 71%, 62%) |
| CMYK | cmyk(0%, 71.3%, 28%, 38.4%) |
| CIE-LAB | lab(38.27, 52.28, -13.40) |
| CIE-LCH | lch(38.27, 53.97, 345.62°) |
| OKLab | oklab(48.93% 0.1588 -0.0353) |
| OKLCH | oklch(48.93% 0.163 347.5) |
| XYZ | xyz(17.8245, 10.2390, 16.6572) |
| Luminance | 0.1024 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.07
Deep Magenta
#A0025C
ΔE00 5.48
Dark Fuchsia
#9D0759
ΔE00 5.88
Magenta (survey)
#C20078
ΔE00 6.53
Dark Magenta
#960056
ΔE00 6.54
Bruise
#7E4071
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2D71 #2D9D59
analogous
#912D9D #9D2D71 #9D2D39
triadic
#9D2D71 #719D2D #2D719D
tetradic
#9D2D71 #9D912D #2D9D59 #2D399D
square
#9D2D71 #9D912D #2D9D59 #2D399D
split-complementary
#9D2D71 #399D2D #2D9D91
monochromatic
#3E122D #6D1F4F #9D2D71 #C83F92 #D66FAD
Accessibility & contrast
On white
6.89
#9D2D71 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#9D2D71 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D2D71
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2D71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2D71 | 1.00 | 6.89 | 3.05 | 6.89 |
| #FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C4E73
Deuteranopia (green-blind)
#5D616E
Tritanopia (blue-blind)
#A8294B
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #9d2d71; /* rgb */ color: rgb(157, 45, 113); /* oklch */ color: oklch(48.9% 0.163 347.5);
Tailwind
colors: {
custom: {
50: '#be6f99',
500: '#9d2d71',
950: '#000000',
},
}SCSS
$custom: #9d2d71; $custom-light: #be6f99; $custom-dark: #000000;
JSON
{
"hex": "#9d2d71",
"rgb": {
"r": 157,
"g": 45,
"b": 113
},
"hsl": {
"h": 323.571,
"s": 55.446,
"l": 39.608
},
"oklch": {
"l": 0.48932,
"c": 0.16269,
"h": 347.5
},
"luminance": 0.10237
}Semantic roles & 50–950 ramp
primary
#9D2D71
secondary
#69BD8A
accent
#DF8449
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E