#9F397B#9F397B
#9F397B is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.0% C 0.154 H 344.2°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #9F397B |
|---|---|
| RGB | rgb(159, 57, 123) |
| HSL | hsl(321, 47%, 42%) |
| HSV | hsv(321, 64%, 62%) |
| CMYK | cmyk(0%, 64.2%, 22.6%, 37.6%) |
| CIE-LAB | lab(40.78, 49.32, -15.75) |
| CIE-LCH | lch(40.78, 51.78, 342.29°) |
| OKLab | oklab(50.97% 0.1482 -0.0419) |
| OKLCH | oklch(50.97% 0.154 344.2) |
| XYZ | xyz(19.3370, 11.7291, 19.9806) |
| Luminance | 0.1173 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Eggplant
#894585
ΔE00 6.13
Red Violet
#9E0168
ΔE00 6.60
Bruise
#7E4071
ΔE00 6.79
Warm Purple
#952E8F
ΔE00 6.88
Magenta (survey)
#C20078
ΔE00 6.89
Mediumvioletred
#C71585
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F397B #399F5D
analogous
#90399F #9F397B #9F3948
triadic
#9F397B #7B9F39 #397B9F
tetradic
#9F397B #9F9039 #399F5D #39489F
square
#9F397B #9F9039 #399F5D #39489F
split-complementary
#9F397B #489F39 #399F90
monochromatic
#451935 #722958 #9F397B #C2549B #D281B5
Accessibility & contrast
On white
6.28
#9F397B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#9F397B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F397B
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F397B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F397B | 1.00 | 6.28 | 3.35 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#42557D
Deuteranopia (green-blind)
#606679
Tritanopia (blue-blind)
#A93855
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #9f397b; /* rgb */ color: rgb(159, 57, 123); /* oklch */ color: oklch(51.0% 0.154 344.2);
Tailwind
colors: {
custom: {
50: '#be76a1',
500: '#9f397b',
950: '#000000',
},
}SCSS
$custom: #9f397b; $custom-light: #be76a1; $custom-dark: #000000;
JSON
{
"hex": "#9f397b",
"rgb": {
"r": 159,
"g": 57,
"b": 123
},
"hsl": {
"h": 321.176,
"s": 47.222,
"l": 42.353
},
"oklch": {
"l": 0.50973,
"c": 0.15396,
"h": 344.2
},
"luminance": 0.11727
}Semantic roles & 50–950 ramp
primary
#9F397B
secondary
#78BB90
accent
#D78051
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090F
muted
#827B7E