#9F396F#9F396F
#9F396F is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.5% C 0.147 H 350.8°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #9F396F |
|---|---|
| RGB | rgb(159, 57, 111) |
| HSL | hsl(328, 47%, 42%) |
| HSV | hsv(328, 64%, 62%) |
| CMYK | cmyk(0%, 64.2%, 30.2%, 37.6%) |
| CIE-LAB | lab(40.32, 47.68, -9.01) |
| CIE-LCH | lch(40.32, 48.52, 349.30°) |
| OKLab | oklab(50.48% 0.145 -0.0234) |
| OKLCH | oklch(50.48% 0.147 350.8) |
| XYZ | xyz(18.6313, 11.4468, 16.2641) |
| Luminance | 0.1144 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 6.41
Deep Magenta
#A0025C
ΔE00 6.50
Magenta (survey)
#C20078
ΔE00 6.62
Dark Fuchsia
#9D0759
ΔE00 6.75
Violet Red
#A50055
ΔE00 7.43
Light Plum
#9D5783
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F396F #399F69
analogous
#9C399F #9F396F #9F393C
triadic
#9F396F #6F9F39 #396F9F
tetradic
#9F396F #9F9C39 #399F69 #393C9F
square
#9F396F #9F9C39 #399F69 #393C9F
split-complementary
#9F396F #3C9F39 #399F9C
monochromatic
#451930 #722950 #9F396F #C2548E #D281AC
Accessibility & contrast
On white
6.38
#9F396F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#9F396F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F396F
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F396F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F396F | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#475471
Deuteranopia (green-blind)
#64666D
Tritanopia (blue-blind)
#AA344F
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #9f396f; /* rgb */ color: rgb(159, 57, 111); /* oklch */ color: oklch(50.5% 0.147 350.8);
Tailwind
colors: {
custom: {
50: '#bf7698',
500: '#9f396f',
950: '#000000',
},
}SCSS
$custom: #9f396f; $custom-light: #bf7698; $custom-dark: #000000;
JSON
{
"hex": "#9f396f",
"rgb": {
"r": 159,
"g": 57,
"b": 111
},
"hsl": {
"h": 328.235,
"s": 47.222,
"l": 42.353
},
"oklch": {
"l": 0.50484,
"c": 0.14684,
"h": 350.8
},
"luminance": 0.11445
}Semantic roles & 50–950 ramp
primary
#9F396F
secondary
#78BB98
accent
#D79051
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090D
muted
#827B7E