#9F387F#9F387F
#9F387F is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.0% C 0.158 H 342.0°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #9F387F |
|---|---|
| RGB | rgb(159, 56, 127) |
| HSL | hsl(319, 48%, 42%) |
| HSV | hsv(319, 65%, 62%) |
| CMYK | cmyk(0%, 64.8%, 20.1%, 37.6%) |
| CIE-LAB | lab(40.79, 50.33, -18.21) |
| CIE-LCH | lch(40.79, 53.53, 340.11°) |
| OKLab | oklab(51.03% 0.1504 -0.0487) |
| OKLCH | oklch(51.03% 0.158 342) |
| XYZ | xyz(19.5435, 11.7334, 21.3100) |
| Luminance | 0.1173 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Eggplant
#894585
ΔE00 5.58
Warm Purple
#952E8F
ΔE00 5.89
Ugly Purple
#A442A0
ΔE00 6.78
Bruise
#7E4071
ΔE00 6.81
Red Violet
#9E0168
ΔE00 6.82
Mediumvioletred
#C71585
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F387F #389F58
analogous
#8C389F #9F387F #9F384B
triadic
#9F387F #7F9F38 #387F9F
tetradic
#9F387F #9F8C38 #389F58 #384B9F
square
#9F387F #9F8C38 #389F58 #384B9F
split-complementary
#9F387F #4B9F38 #389F8C
monochromatic
#441837 #72285B #9F387F #C2529F #D27FB8
Accessibility & contrast
On white
6.28
#9F387F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#9F387F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F387F
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F387F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F387F | 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)
#405581
Deuteranopia (green-blind)
#5E667C
Tritanopia (blue-blind)
#A93956
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #9f387f; /* rgb */ color: rgb(159, 56, 127); /* oklch */ color: oklch(51.0% 0.158 342.0);
Tailwind
colors: {
custom: {
50: '#be76a4',
500: '#9f387f',
950: '#000000',
},
}SCSS
$custom: #9f387f; $custom-light: #be76a4; $custom-dark: #000000;
JSON
{
"hex": "#9f387f",
"rgb": {
"r": 159,
"g": 56,
"b": 127
},
"hsl": {
"h": 318.641,
"s": 47.907,
"l": 42.157
},
"oklch": {
"l": 0.51032,
"c": 0.15807,
"h": 342
},
"luminance": 0.11732
}Semantic roles & 50–950 ramp
primary
#9F387F
secondary
#77BB8C
accent
#D77A50
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13090F
muted
#827B7F