#9D2D78#9D2D78
#9D2D78 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.2% C 0.167 H 343.9°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2D78 |
|---|---|
| RGB | rgb(157, 45, 120) |
| HSL | hsl(320, 55%, 40%) |
| HSV | hsv(320, 71%, 62%) |
| CMYK | cmyk(0%, 71.3%, 23.6%, 38.4%) |
| CIE-LAB | lab(38.56, 53.22, -17.33) |
| CIE-LCH | lch(38.56, 55.97, 341.96°) |
| OKLab | oklab(49.24% 0.1604 -0.0462) |
| OKLCH | oklch(49.24% 0.167 343.9) |
| XYZ | xyz(18.2338, 10.4028, 18.8133) |
| Luminance | 0.1040 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.66
Warm Purple
#952E8F
ΔE00 6.04
Light Eggplant
#894585
ΔE00 6.72
Deep Magenta
#A0025C
ΔE00 6.79
Bruise
#7E4071
ΔE00 6.92
Magenta (survey)
#C20078
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2D78 #2D9D52
analogous
#8A2D9D #9D2D78 #9D2D40
triadic
#9D2D78 #789D2D #2D789D
tetradic
#9D2D78 #9D8A2D #2D9D52 #2D409D
square
#9D2D78 #9D8A2D #2D9D52 #2D409D
split-complementary
#9D2D78 #409D2D #2D9D8A
monochromatic
#3E122F #6D1F54 #9D2D78 #C83F9B #D66FB4
Accessibility & contrast
On white
6.82
#9D2D78 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#9D2D78 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D2D78
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2D78 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2D78 | 1.00 | 6.82 | 3.08 | 6.82 |
| #FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#394F7A
Deuteranopia (green-blind)
#5B6275
Tritanopia (blue-blind)
#A72D4E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9d2d78; /* rgb */ color: rgb(157, 45, 120); /* oklch */ color: oklch(49.2% 0.167 343.9);
Tailwind
colors: {
custom: {
50: '#be709f',
500: '#9d2d78',
950: '#000000',
},
}SCSS
$custom: #9d2d78; $custom-light: #be709f; $custom-dark: #000000;
JSON
{
"hex": "#9d2d78",
"rgb": {
"r": 157,
"g": 45,
"b": 120
},
"hsl": {
"h": 319.821,
"s": 55.446,
"l": 39.608
},
"oklch": {
"l": 0.49236,
"c": 0.1669,
"h": 343.9
},
"luminance": 0.10401
}Semantic roles & 50–950 ramp
primary
#9D2D78
secondary
#69BD85
accent
#DF7A49
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E