#9F337D#9F337D
#9F337D is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.4% C 0.164 H 342.6°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #9F337D |
|---|---|
| RGB | rgb(159, 51, 125) |
| HSL | hsl(319, 51%, 41%) |
| HSV | hsv(319, 68%, 62%) |
| CMYK | cmyk(0%, 67.9%, 21.4%, 37.6%) |
| CIE-LAB | lab(39.95, 52.13, -18.26) |
| CIE-LCH | lch(39.95, 55.24, 340.69°) |
| OKLab | oklab(50.39% 0.1563 -0.0489) |
| OKLCH | oklch(50.39% 0.164 342.6) |
| XYZ | xyz(19.1842, 11.2211, 20.5536) |
| Luminance | 0.1122 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 5.72
Red Violet
#9E0168
ΔE00 5.95
Light Eggplant
#894585
ΔE00 6.03
Magenta (survey)
#C20078
ΔE00 6.93
Bruise
#7E4071
ΔE00 6.94
Mediumvioletred
#C71585
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F337D #339F55
analogous
#8B339F #9F337D #9F3347
triadic
#9F337D #7D9F33 #337D9F
tetradic
#9F337D #9F8B33 #339F55 #33479F
square
#9F337D #9F8B33 #339F55 #33479F
split-complementary
#9F337D #479F33 #339F8B
monochromatic
#421534 #712459 #9F337D #C54A9E #D479B7
Accessibility & contrast
On white
6.47
#9F337D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#9F337D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F337D
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F337D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F337D | 1.00 | 6.47 | 3.24 | 6.47 |
| #FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C537F
Deuteranopia (green-blind)
#5D657A
Tritanopia (blue-blind)
#A93453
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #9f337d; /* rgb */ color: rgb(159, 51, 125); /* oklch */ color: oklch(50.4% 0.164 342.6);
Tailwind
colors: {
custom: {
50: '#bf73a2',
500: '#9f337d',
950: '#000000',
},
}SCSS
$custom: #9f337d; $custom-light: #bf73a2; $custom-dark: #000000;
JSON
{
"hex": "#9f337d",
"rgb": {
"r": 159,
"g": 51,
"b": 125
},
"hsl": {
"h": 318.889,
"s": 51.429,
"l": 41.176
},
"oklch": {
"l": 0.5039,
"c": 0.16373,
"h": 342.6
},
"luminance": 0.11219
}Semantic roles & 50–950 ramp
primary
#9F337D
secondary
#71BC89
accent
#DB7A4D
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13090F
muted
#827B7F