#9D2F7E#9D2F7E
#9D2F7E is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.7% C 0.168 H 341.1°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2F7E |
|---|---|
| RGB | rgb(157, 47, 126) |
| HSL | hsl(317, 54%, 40%) |
| HSV | hsv(317, 70%, 62%) |
| CMYK | cmyk(0%, 70.1%, 19.7%, 38.4%) |
| CIE-LAB | lab(39.09, 53.30, -20.24) |
| CIE-LCH | lch(39.09, 57.01, 339.21°) |
| OKLab | oklab(49.71% 0.1592 -0.0544) |
| OKLCH | oklch(49.71% 0.168 341.1) |
| XYZ | xyz(18.6876, 10.7093, 20.8175) |
| Luminance | 0.1071 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.83
Red Violet
#9E0168
ΔE00 5.68
Light Eggplant
#894585
ΔE00 5.89
Bruise
#7E4071
ΔE00 6.89
Barney Purple
#A00498
ΔE00 6.91
Ugly Purple
#A442A0
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2F7E #2F9D4E
analogous
#852F9D #9D2F7E #9D2F47
triadic
#9D2F7E #7E9D2F #2F7E9D
tetradic
#9D2F7E #9D852F #2F9D4E #2F479D
square
#9D2F7E #9D852F #2F9D4E #2F479D
split-complementary
#9D2F7E #479D2F #2F9D85
monochromatic
#3F1332 #6E2158 #9D2F7E #C743A1 #D572B9
Accessibility & contrast
On white
6.68
#9D2F7E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#9D2F7E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D2F7E
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2F7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2F7E | 1.00 | 6.68 | 3.14 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#375180
Deuteranopia (green-blind)
#59627B
Tritanopia (blue-blind)
#A63152
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #9d2f7e; /* rgb */ color: rgb(157, 47, 126); /* oklch */ color: oklch(49.7% 0.168 341.1);
Tailwind
colors: {
custom: {
50: '#bd71a3',
500: '#9d2f7e',
950: '#000000',
},
}SCSS
$custom: #9d2f7e; $custom-light: #bd71a3; $custom-dark: #000000;
JSON
{
"hex": "#9d2f7e",
"rgb": {
"r": 157,
"g": 47,
"b": 126
},
"hsl": {
"h": 316.909,
"s": 53.922,
"l": 40
},
"oklch": {
"l": 0.49708,
"c": 0.16826,
"h": 341.1
},
"luminance": 0.10707
}Semantic roles & 50–950 ramp
primary
#9D2F7E
secondary
#6BBC82
accent
#DD744B
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F