#9F337E#9F337E
#9F337E is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.4% C 0.164 H 342.1°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #9F337E |
|---|---|
| RGB | rgb(159, 51, 126) |
| HSL | hsl(318, 51%, 41%) |
| HSV | hsv(318, 68%, 62%) |
| CMYK | cmyk(0%, 67.9%, 20.8%, 37.6%) |
| CIE-LAB | lab(39.99, 52.27, -18.81) |
| CIE-LCH | lch(39.99, 55.56, 340.20°) |
| OKLab | oklab(50.43% 0.1565 -0.0504) |
| OKLCH | oklch(50.43% 0.164 342.1) |
| XYZ | xyz(19.2484, 11.2468, 20.8917) |
| Luminance | 0.1124 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 5.51
Light Eggplant
#894585
ΔE00 5.91
Red Violet
#9E0168
ΔE00 6.07
Bruise
#7E4071
ΔE00 6.96
Magenta (survey)
#C20078
ΔE00 7.03
Ugly Purple
#A442A0
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F337E #339F54
analogous
#8A339F #9F337E #9F3348
triadic
#9F337E #7E9F33 #337E9F
tetradic
#9F337E #9F8A33 #339F54 #33489F
square
#9F337E #9F8A33 #339F54 #33489F
split-complementary
#9F337E #489F33 #339F8A
monochromatic
#421535 #712459 #9F337E #C54A9F #D479B8
Accessibility & contrast
On white
6.46
#9F337E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#9F337E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F337E
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F337E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F337E | 1.00 | 6.46 | 3.25 | 6.46 |
| #FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C5380
Deuteranopia (green-blind)
#5D657B
Tritanopia (blue-blind)
#A93454
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #9f337e; /* rgb */ color: rgb(159, 51, 126); /* oklch */ color: oklch(50.4% 0.164 342.1);
Tailwind
colors: {
custom: {
50: '#bf73a3',
500: '#9f337e',
950: '#000000',
},
}SCSS
$custom: #9f337e; $custom-light: #bf73a3; $custom-dark: #000000;
JSON
{
"hex": "#9f337e",
"rgb": {
"r": 159,
"g": 51,
"b": 126
},
"hsl": {
"h": 318.333,
"s": 51.429,
"l": 41.176
},
"oklch": {
"l": 0.50435,
"c": 0.1644,
"h": 342.1
},
"luminance": 0.11245
}Semantic roles & 50–950 ramp
primary
#9F337E
secondary
#71BC88
accent
#DB784D
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13090F
muted
#827B7F