#9F337F#9F337F
#9F337F is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.5% C 0.165 H 341.7°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #9F337F |
|---|---|
| RGB | rgb(159, 51, 127) |
| HSL | hsl(318, 51%, 41%) |
| HSV | hsv(318, 68%, 62%) |
| CMYK | cmyk(0%, 67.9%, 20.1%, 37.6%) |
| CIE-LAB | lab(40.04, 52.42, -19.37) |
| CIE-LCH | lch(40.04, 55.88, 339.72°) |
| OKLab | oklab(50.48% 0.1567 -0.052) |
| OKLCH | oklch(50.48% 0.165 341.7) |
| XYZ | xyz(19.3132, 11.2727, 21.2333) |
| Luminance | 0.1127 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 5.30
Light Eggplant
#894585
ΔE00 5.80
Red Violet
#9E0168
ΔE00 6.20
Ugly Purple
#A442A0
ΔE00 6.87
Bruise
#7E4071
ΔE00 6.98
Magenta (survey)
#C20078
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F337F #339F53
analogous
#89339F #9F337F #9F3349
triadic
#9F337F #7F9F33 #337F9F
tetradic
#9F337F #9F8933 #339F53 #33499F
square
#9F337F #9F8933 #339F53 #33499F
split-complementary
#9F337F #499F33 #339F89
monochromatic
#421535 #71245A #9F337F #C54AA1 #D479B9
Accessibility & contrast
On white
6.45
#9F337F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#9F337F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F337F
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F337F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F337F | 1.00 | 6.45 | 3.25 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B5381
Deuteranopia (green-blind)
#5C657C
Tritanopia (blue-blind)
#A93454
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #9f337f; /* rgb */ color: rgb(159, 51, 127); /* oklch */ color: oklch(50.5% 0.165 341.7);
Tailwind
colors: {
custom: {
50: '#bf73a4',
500: '#9f337f',
950: '#000000',
},
}SCSS
$custom: #9f337f; $custom-light: #bf73a4; $custom-dark: #000000;
JSON
{
"hex": "#9f337f",
"rgb": {
"r": 159,
"g": 51,
"b": 127
},
"hsl": {
"h": 317.778,
"s": 51.429,
"l": 41.176
},
"oklch": {
"l": 0.50481,
"c": 0.16507,
"h": 341.7
},
"luminance": 0.11271
}Semantic roles & 50–950 ramp
primary
#9F337F
secondary
#71BC88
accent
#DB774D
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13090F
muted
#827B7F