#9D2F7D#9D2F7D
#9D2F7D is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.7% C 0.168 H 341.6°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2F7D |
|---|---|
| RGB | rgb(157, 47, 125) |
| HSL | hsl(317, 54%, 40%) |
| HSV | hsv(317, 70%, 62%) |
| CMYK | cmyk(0%, 70.1%, 20.4%, 38.4%) |
| CIE-LAB | lab(39.04, 53.16, -19.69) |
| CIE-LCH | lch(39.04, 56.69, 339.67°) |
| OKLab | oklab(49.66% 0.159 -0.0529) |
| OKLCH | oklch(49.66% 0.168 341.6) |
| XYZ | xyz(18.6234, 10.6836, 20.4794) |
| Luminance | 0.1068 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 5.05
Red Violet
#9E0168
ΔE00 5.53
Light Eggplant
#894585
ΔE00 5.99
Bruise
#7E4071
ΔE00 6.85
Barney Purple
#A00498
ΔE00 7.11
Magenta (survey)
#C20078
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2F7D #2F9D4F
analogous
#862F9D #9D2F7D #9D2F46
triadic
#9D2F7D #7D9D2F #2F7D9D
tetradic
#9D2F7D #9D862F #2F9D4F #2F469D
square
#9D2F7D #9D862F #2F9D4F #2F469D
split-complementary
#9D2F7D #469D2F #2F9D86
monochromatic
#3F1332 #6E2157 #9D2F7D #C743A0 #D572B8
Accessibility & contrast
On white
6.70
#9D2F7D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#9D2F7D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D2F7D
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2F7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2F7D | 1.00 | 6.70 | 3.14 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#38517F
Deuteranopia (green-blind)
#5A627A
Tritanopia (blue-blind)
#A73152
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #9d2f7d; /* rgb */ color: rgb(157, 47, 125); /* oklch */ color: oklch(49.7% 0.168 341.6);
Tailwind
colors: {
custom: {
50: '#bd71a2',
500: '#9d2f7d',
950: '#000000',
},
}SCSS
$custom: #9d2f7d; $custom-light: #bd71a2; $custom-dark: #000000;
JSON
{
"hex": "#9d2f7d",
"rgb": {
"r": 157,
"g": 47,
"b": 125
},
"hsl": {
"h": 317.455,
"s": 53.922,
"l": 40
},
"oklch": {
"l": 0.49662,
"c": 0.1676,
"h": 341.6
},
"luminance": 0.10682
}Semantic roles & 50–950 ramp
primary
#9D2F7D
secondary
#6BBC83
accent
#DD754B
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#12080F
muted
#817B7F