#9E2D76#9E2D76
#9E2D76 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.3% C 0.166 H 345.3°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #9E2D76 |
|---|---|
| RGB | rgb(158, 45, 118) |
| HSL | hsl(321, 56%, 40%) |
| HSV | hsv(321, 72%, 62%) |
| CMYK | cmyk(0%, 71.5%, 25.3%, 38%) |
| CIE-LAB | lab(38.65, 53.22, -15.93) |
| CIE-LCH | lch(38.65, 55.55, 343.34°) |
| OKLab | oklab(49.31% 0.1609 -0.0423) |
| OKLCH | oklch(49.31% 0.166 345.3) |
| XYZ | xyz(18.3097, 10.4558, 18.1899) |
| Luminance | 0.1045 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.45
Deep Magenta
#A0025C
ΔE00 6.35
Magenta (survey)
#C20078
ΔE00 6.57
Warm Purple
#952E8F
ΔE00 6.65
Dark Fuchsia
#9D0759
ΔE00 6.81
Bruise
#7E4071
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E2D76 #2D9E55
analogous
#8E2D9E #9E2D76 #9E2D3E
triadic
#9E2D76 #769E2D #2D769E
tetradic
#9E2D76 #9E8E2D #2D9E55 #2D3E9E
square
#9E2D76 #9E8E2D #2D9E55 #2D3E9E
split-complementary
#9E2D76 #3E9E2D #2D9E8E
monochromatic
#3F122F #6E1F52 #9E2D76 #C94098 #D66FB2
Accessibility & contrast
On white
6.79
#9E2D76 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#9E2D76 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E2D76
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E2D76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E2D76 | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A4F78
Deuteranopia (green-blind)
#5C6273
Tritanopia (blue-blind)
#A92B4D
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9e2d76; /* rgb */ color: rgb(158, 45, 118); /* oklch */ color: oklch(49.3% 0.166 345.3);
Tailwind
colors: {
custom: {
50: '#be709d',
500: '#9e2d76',
950: '#000000',
},
}SCSS
$custom: #9e2d76; $custom-light: #be709d; $custom-dark: #000000;
JSON
{
"hex": "#9e2d76",
"rgb": {
"r": 158,
"g": 45,
"b": 118
},
"hsl": {
"h": 321.239,
"s": 55.665,
"l": 39.804
},
"oklch": {
"l": 0.4931,
"c": 0.1664,
"h": 345.3
},
"luminance": 0.10454
}Semantic roles & 50–950 ramp
primary
#9E2D76
secondary
#69BD87
accent
#DF7E49
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E