#9D337F#9D337F
#9D337F is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.2% C 0.164 H 340.9°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #9D337F |
|---|---|
| RGB | rgb(157, 51, 127) |
| HSL | hsl(317, 51%, 41%) |
| HSV | hsv(317, 68%, 62%) |
| CMYK | cmyk(0%, 67.5%, 19.1%, 38.4%) |
| CIE-LAB | lab(39.70, 51.86, -19.92) |
| CIE-LCH | lch(39.70, 55.56, 338.99°) |
| OKLab | oklab(50.17% 0.1546 -0.0535) |
| OKLCH | oklch(50.17% 0.164 340.9) |
| XYZ | xyz(18.9197, 11.0698, 21.2148) |
| Luminance | 0.1107 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.96
Light Eggplant
#894585
ΔE00 5.50
Red Violet
#9E0168
ΔE00 6.21
Bruise
#7E4071
ΔE00 6.69
Ugly Purple
#A442A0
ΔE00 6.84
Barney Purple
#A00498
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D337F #339D51
analogous
#86339D #9D337F #9D334A
triadic
#9D337F #7F9D33 #337F9D
tetradic
#9D337F #9D8633 #339D51 #334A9D
square
#9D337F #9D8633 #339D51 #334A9D
split-complementary
#9D337F #4A9D33 #339D86
monochromatic
#411534 #6F245A #9D337F #C449A1 #D377B9
Accessibility & contrast
On white
6.53
#9D337F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#9D337F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D337F
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D337F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D337F | 1.00 | 6.53 | 3.21 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A5381
Deuteranopia (green-blind)
#5B647C
Tritanopia (blue-blind)
#A63554
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #9d337f; /* rgb */ color: rgb(157, 51, 127); /* oklch */ color: oklch(50.2% 0.164 340.9);
Tailwind
colors: {
custom: {
50: '#bd73a4',
500: '#9d337f',
950: '#000000',
},
}SCSS
$custom: #9d337f; $custom-light: #bd73a4; $custom-dark: #000000;
JSON
{
"hex": "#9d337f",
"rgb": {
"r": 157,
"g": 51,
"b": 127
},
"hsl": {
"h": 316.981,
"s": 50.962,
"l": 40.784
},
"oklch": {
"l": 0.50168,
"c": 0.16363,
"h": 340.9
},
"luminance": 0.11068
}Semantic roles & 50–950 ramp
primary
#9D337F
secondary
#70BB86
accent
#DA754D
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12090F
muted
#817B7F