#9D2C78#9D2C78
#9D2C78 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.1% C 0.168 H 343.8°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2C78 |
|---|---|
| RGB | rgb(157, 44, 120) |
| HSL | hsl(320, 56%, 39%) |
| HSV | hsv(320, 72%, 62%) |
| CMYK | cmyk(0%, 72%, 23.6%, 38.4%) |
| CIE-LAB | lab(38.42, 53.59, -17.54) |
| CIE-LCH | lch(38.42, 56.38, 341.88°) |
| OKLab | oklab(49.14% 0.1615 -0.0468) |
| OKLCH | oklch(49.14% 0.168 343.8) |
| XYZ | xyz(18.1961, 10.3274, 18.8008) |
| Luminance | 0.1033 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.55
Warm Purple
#952E8F
ΔE00 5.98
Deep Magenta
#A0025C
ΔE00 6.76
Light Eggplant
#894585
ΔE00 6.78
Magenta (survey)
#C20078
ΔE00 6.95
Bruise
#7E4071
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2C78 #2C9D51
analogous
#8A2C9D #9D2C78 #9D2C40
triadic
#9D2C78 #789D2C #2C789D
tetradic
#9D2C78 #9D8A2C #2C9D51 #2C409D
square
#9D2C78 #9D8A2C #2C9D51 #2C409D
split-complementary
#9D2C78 #409D2C #2C9D8A
monochromatic
#3D112F #6D1F53 #9D2C78 #C93D9B #D66DB4
Accessibility & contrast
On white
6.85
#9D2C78 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#9D2C78 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D2C78
6.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2C78 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2C78 | 1.00 | 6.85 | 3.07 | 6.85 |
| #FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#384E7A
Deuteranopia (green-blind)
#5A6175
Tritanopia (blue-blind)
#A72C4E
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #9d2c78; /* rgb */ color: rgb(157, 44, 120); /* oklch */ color: oklch(49.1% 0.168 343.8);
Tailwind
colors: {
custom: {
50: '#be6f9f',
500: '#9d2c78',
950: '#000000',
},
}SCSS
$custom: #9d2c78; $custom-light: #be6f9f; $custom-dark: #000000;
JSON
{
"hex": "#9d2c78",
"rgb": {
"r": 157,
"g": 44,
"b": 120
},
"hsl": {
"h": 319.646,
"s": 56.219,
"l": 39.412
},
"oklch": {
"l": 0.4914,
"c": 0.16815,
"h": 343.8
},
"luminance": 0.10326
}Semantic roles & 50–950 ramp
primary
#9D2C78
secondary
#68BD84
accent
#E07A48
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E