#9F397D#9F397D
#9F397D is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.1% C 0.155 H 343.2°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #9F397D |
|---|---|
| RGB | rgb(159, 57, 125) |
| HSL | hsl(320, 47%, 42%) |
| HSV | hsv(320, 64%, 62%) |
| CMYK | cmyk(0%, 64.2%, 21.4%, 37.6%) |
| CIE-LAB | lab(40.86, 49.61, -16.86) |
| CIE-LCH | lch(40.86, 52.40, 341.23°) |
| OKLab | oklab(51.06% 0.1486 -0.045) |
| OKLCH | oklch(51.06% 0.155 343.2) |
| XYZ | xyz(19.4634, 11.7797, 20.6467) |
| Luminance | 0.1178 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Eggplant
#894585
ΔE00 5.83
Warm Purple
#952E8F
ΔE00 6.44
Red Violet
#9E0168
ΔE00 6.77
Bruise
#7E4071
ΔE00 6.77
Magenta (survey)
#C20078
ΔE00 7.05
Mediumvioletred
#C71585
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F397D #399F5B
analogous
#8E399F #9F397D #9F394A
triadic
#9F397D #7D9F39 #397D9F
tetradic
#9F397D #9F8E39 #399F5B #394A9F
square
#9F397D #9F8E39 #399F5B #394A9F
split-complementary
#9F397D #4A9F39 #399F8E
monochromatic
#451936 #72295A #9F397D #C2549D #D281B7
Accessibility & contrast
On white
6.26
#9F397D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#9F397D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F397D
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F397D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F397D | 1.00 | 6.26 | 3.36 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#42567F
Deuteranopia (green-blind)
#60677B
Tritanopia (blue-blind)
#A93956
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #9f397d; /* rgb */ color: rgb(159, 57, 125); /* oklch */ color: oklch(51.1% 0.155 343.2);
Tailwind
colors: {
custom: {
50: '#be76a2',
500: '#9f397d',
950: '#000000',
},
}SCSS
$custom: #9f397d; $custom-light: #be76a2; $custom-dark: #000000;
JSON
{
"hex": "#9f397d",
"rgb": {
"r": 159,
"g": 57,
"b": 125
},
"hsl": {
"h": 320,
"s": 47.222,
"l": 42.353
},
"oklch": {
"l": 0.5106,
"c": 0.15527,
"h": 343.2
},
"luminance": 0.11778
}Semantic roles & 50–950 ramp
primary
#9F397D
secondary
#78BB8F
accent
#D77E51
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13090F
muted
#827B7F