#9F397F#9F397F
#9F397F is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.1% C 0.157 H 342.1°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #9F397F |
|---|---|
| RGB | rgb(159, 57, 127) |
| HSL | hsl(319, 47%, 42%) |
| HSV | hsv(319, 64%, 62%) |
| CMYK | cmyk(0%, 64.2%, 20.1%, 37.6%) |
| CIE-LAB | lab(40.95, 49.90, -17.97) |
| CIE-LCH | lch(40.95, 53.04, 340.20°) |
| OKLab | oklab(51.15% 0.149 -0.0481) |
| OKLCH | oklch(51.15% 0.157 342.1) |
| XYZ | xyz(19.5925, 11.8313, 21.3264) |
| Luminance | 0.1183 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Eggplant
#894585
ΔE00 5.56
Warm Purple
#952E8F
ΔE00 6.02
Ugly Purple
#A442A0
ΔE00 6.77
Bruise
#7E4071
ΔE00 6.79
Red Violet
#9E0168
ΔE00 6.96
Purpleish
#98568D
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F397F #399F59
analogous
#8C399F #9F397F #9F394C
triadic
#9F397F #7F9F39 #397F9F
tetradic
#9F397F #9F8C39 #399F59 #394C9F
square
#9F397F #9F8C39 #399F59 #394C9F
split-complementary
#9F397F #4C9F39 #399F8C
monochromatic
#451937 #72295B #9F397F #C2549F #D281B8
Accessibility & contrast
On white
6.24
#9F397F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#9F397F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F397F
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F397F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F397F | 1.00 | 6.24 | 3.37 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#415681
Deuteranopia (green-blind)
#5F677C
Tritanopia (blue-blind)
#A93A57
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #9f397f; /* rgb */ color: rgb(159, 57, 127); /* oklch */ color: oklch(51.1% 0.157 342.1);
Tailwind
colors: {
custom: {
50: '#be76a4',
500: '#9f397f',
950: '#000000',
},
}SCSS
$custom: #9f397f; $custom-light: #be76a4; $custom-dark: #000000;
JSON
{
"hex": "#9f397f",
"rgb": {
"r": 159,
"g": 57,
"b": 127
},
"hsl": {
"h": 318.824,
"s": 47.222,
"l": 42.353
},
"oklch": {
"l": 0.51148,
"c": 0.15662,
"h": 342.1
},
"luminance": 0.11829
}Semantic roles & 50–950 ramp
primary
#9F397F
secondary
#78BB8D
accent
#D77B51
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13090F
muted
#827B7F