#9D2E76#9D2E76
#9D2E76 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.2% C 0.164 H 345.0°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2E76 |
|---|---|
| RGB | rgb(157, 46, 118) |
| HSL | hsl(321, 55%, 40%) |
| HSV | hsv(321, 71%, 62%) |
| CMYK | cmyk(0%, 70.7%, 24.8%, 38.4%) |
| CIE-LAB | lab(38.61, 52.56, -16.01) |
| CIE-LCH | lch(38.61, 54.95, 343.06°) |
| OKLab | oklab(49.25% 0.1588 -0.0426) |
| OKLCH | oklch(49.25% 0.164 345) |
| XYZ | xyz(18.1523, 10.4320, 18.1936) |
| Luminance | 0.1043 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.55
Deep Magenta
#A0025C
ΔE00 6.46
Warm Purple
#952E8F
ΔE00 6.58
Magenta (survey)
#C20078
ΔE00 6.77
Dark Fuchsia
#9D0759
ΔE00 6.90
Bruise
#7E4071
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2E76 #2E9D55
analogous
#8D2E9D #9D2E76 #9D2E3F
triadic
#9D2E76 #769D2E #2E769D
tetradic
#9D2E76 #9D8D2E #2E9D55 #2E3F9D
square
#9D2E76 #9D8D2E #2E9D55 #2E3F9D
split-complementary
#9D2E76 #3F9D2E #2E9D8D
monochromatic
#3E122F #6E2052 #9D2E76 #C74198 #D570B2
Accessibility & contrast
On white
6.80
#9D2E76 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#9D2E76 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D2E76
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2E76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2E76 | 1.00 | 6.80 | 3.09 | 6.80 |
| #FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A4F78
Deuteranopia (green-blind)
#5C6273
Tritanopia (blue-blind)
#A72D4E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9d2e76; /* rgb */ color: rgb(157, 46, 118); /* oklch */ color: oklch(49.2% 0.164 345.0);
Tailwind
colors: {
custom: {
50: '#be709d',
500: '#9d2e76',
950: '#000000',
},
}SCSS
$custom: #9d2e76; $custom-light: #be709d; $custom-dark: #000000;
JSON
{
"hex": "#9d2e76",
"rgb": {
"r": 157,
"g": 46,
"b": 118
},
"hsl": {
"h": 321.081,
"s": 54.68,
"l": 39.804
},
"oklch": {
"l": 0.49246,
"c": 0.16439,
"h": 345
},
"luminance": 0.1043
}Semantic roles & 50–950 ramp
primary
#9D2E76
secondary
#6ABD87
accent
#DE7E4A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E