#9D2E78#9D2E78
#9D2E78 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.3% C 0.166 H 344.0°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2E78 |
|---|---|
| RGB | rgb(157, 46, 120) |
| HSL | hsl(320, 55%, 40%) |
| HSV | hsv(320, 71%, 62%) |
| CMYK | cmyk(0%, 70.7%, 23.6%, 38.4%) |
| CIE-LAB | lab(38.69, 52.84, -17.13) |
| CIE-LCH | lch(38.69, 55.54, 342.04°) |
| OKLab | oklab(49.33% 0.1592 -0.0457) |
| OKLCH | oklch(49.33% 0.166 344) |
| XYZ | xyz(18.2724, 10.4800, 18.8262) |
| Luminance | 0.1048 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.77
Warm Purple
#952E8F
ΔE00 6.11
Light Eggplant
#894585
ΔE00 6.66
Deep Magenta
#A0025C
ΔE00 6.84
Bruise
#7E4071
ΔE00 6.86
Magenta (survey)
#C20078
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2E78 #2E9D53
analogous
#8B2E9D #9D2E78 #9D2E40
triadic
#9D2E78 #789D2E #2E789D
tetradic
#9D2E78 #9D8B2E #2E9D53 #2E409D
square
#9D2E78 #9D8B2E #2E9D53 #2E409D
split-complementary
#9D2E78 #409D2E #2E9D8B
monochromatic
#3E1230 #6E2054 #9D2E78 #C7419B #D570B4
Accessibility & contrast
On white
6.78
#9D2E78 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#9D2E78 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D2E78
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2E78 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2E78 | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A4F7A
Deuteranopia (green-blind)
#5B6275
Tritanopia (blue-blind)
#A72D4F
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9d2e78; /* rgb */ color: rgb(157, 46, 120); /* oklch */ color: oklch(49.3% 0.166 344.0);
Tailwind
colors: {
custom: {
50: '#be709f',
500: '#9d2e78',
950: '#000000',
},
}SCSS
$custom: #9d2e78; $custom-light: #be709f; $custom-dark: #000000;
JSON
{
"hex": "#9d2e78",
"rgb": {
"r": 157,
"g": 46,
"b": 120
},
"hsl": {
"h": 320,
"s": 54.68,
"l": 39.804
},
"oklch": {
"l": 0.49334,
"c": 0.16564,
"h": 344
},
"luminance": 0.10478
}Semantic roles & 50–950 ramp
primary
#9D2E78
secondary
#6ABD86
accent
#DE7B4A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E