#9D2C71#9D2C71
#9D2C71 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.8% C 0.164 H 347.4°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2C71 |
|---|---|
| RGB | rgb(157, 44, 113) |
| HSL | hsl(323, 56%, 39%) |
| HSV | hsv(323, 72%, 62%) |
| CMYK | cmyk(0%, 72%, 28%, 38.4%) |
| CIE-LAB | lab(38.13, 52.66, -13.60) |
| CIE-LCH | lch(38.13, 54.38, 345.51°) |
| OKLab | oklab(48.83% 0.16 -0.0359) |
| OKLCH | oklch(48.83% 0.164 347.4) |
| XYZ | xyz(17.7868, 10.1636, 16.6447) |
| Luminance | 0.1016 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.93
Deep Magenta
#A0025C
ΔE00 5.42
Dark Fuchsia
#9D0759
ΔE00 5.83
Dark Magenta
#960056
ΔE00 6.47
Magenta (survey)
#C20078
ΔE00 6.54
Bruise
#7E4071
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2C71 #2C9D58
analogous
#912C9D #9D2C71 #9D2C38
triadic
#9D2C71 #719D2C #2C719D
tetradic
#9D2C71 #9D912C #2C9D58 #2C389D
square
#9D2C71 #9D912C #2C9D58 #2C389D
split-complementary
#9D2C71 #389D2C #2C9D91
monochromatic
#3D112C #6D1F4F #9D2C71 #C93D93 #D66DAD
Accessibility & contrast
On white
6.93
#9D2C71 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#9D2C71 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D2C71
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2C71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2C71 | 1.00 | 6.93 | 3.03 | 6.93 |
| #FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B4D73
Deuteranopia (green-blind)
#5C616E
Tritanopia (blue-blind)
#A8284A
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #9d2c71; /* rgb */ color: rgb(157, 44, 113); /* oklch */ color: oklch(48.8% 0.164 347.4);
Tailwind
colors: {
custom: {
50: '#be6f9a',
500: '#9d2c71',
950: '#000000',
},
}SCSS
$custom: #9d2c71; $custom-light: #be6f9a; $custom-dark: #000000;
JSON
{
"hex": "#9d2c71",
"rgb": {
"r": 157,
"g": 44,
"b": 113
},
"hsl": {
"h": 323.363,
"s": 56.219,
"l": 39.412
},
"oklch": {
"l": 0.48834,
"c": 0.16394,
"h": 347.4
},
"luminance": 0.10162
}Semantic roles & 50–950 ramp
primary
#9D2C71
secondary
#68BD89
accent
#E08348
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E