#9D2F76#9D2F76
#9D2F76 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.3% C 0.163 H 345.1°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2F76 |
|---|---|
| RGB | rgb(157, 47, 118) |
| HSL | hsl(321, 54%, 40%) |
| HSV | hsv(321, 70%, 62%) |
| CMYK | cmyk(0%, 70.1%, 24.8%, 38.4%) |
| CIE-LAB | lab(38.74, 52.18, -15.80) |
| CIE-LCH | lch(38.74, 54.52, 343.16°) |
| OKLab | oklab(49.35% 0.1576 -0.042) |
| OKLCH | oklch(49.35% 0.163 345.1) |
| XYZ | xyz(18.1919, 10.5110, 18.2068) |
| Luminance | 0.1051 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.68
Deep Magenta
#A0025C
ΔE00 6.51
Warm Purple
#952E8F
ΔE00 6.65
Magenta (survey)
#C20078
ΔE00 6.76
Bruise
#7E4071
ΔE00 6.85
Light Eggplant
#894585
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2F76 #2F9D56
analogous
#8D2F9D #9D2F76 #9D2F3F
triadic
#9D2F76 #769D2F #2F769D
tetradic
#9D2F76 #9D8D2F #2F9D56 #2F3F9D
square
#9D2F76 #9D8D2F #2F9D56 #2F3F9D
split-complementary
#9D2F76 #3F9D2F #2F9D8D
monochromatic
#3F132F #6E2153 #9D2F76 #C74398 #D572B2
Accessibility & contrast
On white
6.77
#9D2F76 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#9D2F76 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D2F76
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2F76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2F76 | 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)
#3B4F78
Deuteranopia (green-blind)
#5C6273
Tritanopia (blue-blind)
#A72D4E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9d2f76; /* rgb */ color: rgb(157, 47, 118); /* oklch */ color: oklch(49.3% 0.163 345.1);
Tailwind
colors: {
custom: {
50: '#be719d',
500: '#9d2f76',
950: '#000000',
},
}SCSS
$custom: #9d2f76; $custom-light: #be719d; $custom-dark: #000000;
JSON
{
"hex": "#9d2f76",
"rgb": {
"r": 157,
"g": 47,
"b": 118
},
"hsl": {
"h": 321.273,
"s": 53.922,
"l": 40
},
"oklch": {
"l": 0.49346,
"c": 0.1631,
"h": 345.1
},
"luminance": 0.10509
}Semantic roles & 50–950 ramp
primary
#9D2F76
secondary
#6BBC88
accent
#DD7F4B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E