#9F337C#9F337C
#9F337C is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.3% C 0.163 H 343.1°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #9F337C |
|---|---|
| RGB | rgb(159, 51, 124) |
| HSL | hsl(319, 51%, 41%) |
| HSV | hsv(319, 68%, 62%) |
| CMYK | cmyk(0%, 67.9%, 22%, 37.6%) |
| CIE-LAB | lab(39.91, 51.99, -17.71) |
| CIE-LCH | lch(39.91, 54.92, 341.19°) |
| OKLab | oklab(50.35% 0.1561 -0.0473) |
| OKLCH | oklch(50.35% 0.163 343.1) |
| XYZ | xyz(19.1206, 11.1957, 20.2189) |
| Luminance | 0.1119 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.83
Warm Purple
#952E8F
ΔE00 5.94
Light Eggplant
#894585
ΔE00 6.15
Magenta (survey)
#C20078
ΔE00 6.83
Bruise
#7E4071
ΔE00 6.93
Mediumvioletred
#C71585
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F337C #339F56
analogous
#8C339F #9F337C #9F3346
triadic
#9F337C #7C9F33 #337C9F
tetradic
#9F337C #9F8C33 #339F56 #33469F
square
#9F337C #9F8C33 #339F56 #33469F
split-complementary
#9F337C #469F33 #339F8C
monochromatic
#421534 #712458 #9F337C #C54A9D #D479B6
Accessibility & contrast
On white
6.48
#9F337C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#9F337C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F337C
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F337C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F337C | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D537E
Deuteranopia (green-blind)
#5D6579
Tritanopia (blue-blind)
#A93353
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #9f337c; /* rgb */ color: rgb(159, 51, 124); /* oklch */ color: oklch(50.3% 0.163 343.1);
Tailwind
colors: {
custom: {
50: '#bf73a2',
500: '#9f337c',
950: '#000000',
},
}SCSS
$custom: #9f337c; $custom-light: #bf73a2; $custom-dark: #000000;
JSON
{
"hex": "#9f337c",
"rgb": {
"r": 159,
"g": 51,
"b": 124
},
"hsl": {
"h": 319.444,
"s": 51.429,
"l": 41.176
},
"oklch": {
"l": 0.50345,
"c": 0.16309,
"h": 343.1
},
"luminance": 0.11194
}Semantic roles & 50–950 ramp
primary
#9F337C
secondary
#71BC8A
accent
#DB7B4D
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090F
muted
#827B7E