#9E2D78#9E2D78
#9E2D78 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.4% C 0.168 H 344.3°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2D78 |
|---|---|
| RGB | rgb(158, 45, 120) |
| HSL | hsl(320, 56%, 40%) |
| HSV | hsv(320, 72%, 62%) |
| CMYK | cmyk(0%, 71.5%, 24.1%, 38%) |
| CIE-LAB | lab(38.73, 53.49, -17.05) |
| CIE-LCH | lch(38.73, 56.14, 342.32°) |
| OKLab | oklab(49.4% 0.1614 -0.0454) |
| OKLCH | oklch(49.4% 0.168 344.3) |
| XYZ | xyz(18.4298, 10.5038, 18.8225) |
| Luminance | 0.1050 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.66
Warm Purple
#952E8F
ΔE00 6.19
Magenta (survey)
#C20078
ΔE00 6.72
Deep Magenta
#A0025C
ΔE00 6.73
Light Eggplant
#894585
ΔE00 6.85
Bruise
#7E4071
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2D78 #2D9E53
analogous
#8C2D9E #9E2D78 #9E2D40
triadic
#9E2D78 #789E2D #2D789E
tetradic
#9E2D78 #9E8C2D #2D9E53 #2D409E
square
#9E2D78 #9E8C2D #2D9E53 #2D409E
split-complementary
#9E2D78 #409E2D #2D9E8C
monochromatic
#3F1230 #6E1F54 #9E2D78 #C9409B #D66FB4
Accessibility & contrast
On white
6.77
#9E2D78 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#9E2D78 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E2D78
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2D78 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2D78 | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#394F7A
Deuteranopia (green-blind)
#5B6275
Tritanopia (blue-blind)
#A82C4E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9e2d78; /* rgb */ color: rgb(158, 45, 120); /* oklch */ color: oklch(49.4% 0.168 344.3);
Tailwind
colors: {
custom: {
50: '#be709f',
500: '#9e2d78',
950: '#000000',
},
}SCSS
$custom: #9e2d78; $custom-light: #be709f; $custom-dark: #000000;
JSON
{
"hex": "#9e2d78",
"rgb": {
"r": 158,
"g": 45,
"b": 120
},
"hsl": {
"h": 320.177,
"s": 55.665,
"l": 39.804
},
"oklch": {
"l": 0.49398,
"c": 0.16763,
"h": 344.3
},
"luminance": 0.10502
}Semantic roles & 50–950 ramp
primary
#9E2D78
secondary
#69BD86
accent
#DF7B49
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E