#8D396F#8D396F
#8D396F is a mid, vivid pink. Relative luminance 0.097; OKLCH L 47.7% C 0.131 H 343.8°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #8D396F |
|---|---|
| RGB | rgb(141, 57, 111) |
| HSL | hsl(321, 42%, 39%) |
| HSV | hsv(321, 60%, 55%) |
| CMYK | cmyk(0%, 59.6%, 21.3%, 44.7%) |
| CIE-LAB | lab(37.37, 42.06, -13.76) |
| CIE-LCH | lch(37.37, 44.25, 341.88°) |
| OKLab | oklab(47.72% 0.1258 -0.0366) |
| OKLCH | oklch(47.72% 0.131 343.8) |
| XYZ | xyz(15.3173, 9.7380, 16.1088) |
| Luminance | 0.0974 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 3.85
Light Eggplant
#894585
ΔE00 5.81
Red Violet
#9E0168
ΔE00 6.46
Grape
#6C3461
ΔE00 7.07
Warm Purple
#952E8F
ΔE00 7.72
Deep Magenta
#A0025C
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D396F #398D57
analogous
#81398D #8D396F #8D3945
triadic
#8D396F #6F8D39 #396F8D
tetradic
#8D396F #8D8139 #398D57 #39458D
square
#8D396F #8D8139 #398D57 #39458D
split-complementary
#8D396F #458D39 #398D81
monochromatic
#36162A #61274D #8D396F #B74C91 #C878AC
Accessibility & contrast
On white
7.12
#8D396F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#8D396F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D396F
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D396F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D396F | 1.00 | 7.12 | 2.95 | 7.12 |
| #FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404F71
Deuteranopia (green-blind)
#585D6D
Tritanopia (blue-blind)
#96394F
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #8d396f; /* rgb */ color: rgb(141, 57, 111); /* oklch */ color: oklch(47.7% 0.131 343.8);
Tailwind
colors: {
custom: {
50: '#b17498',
500: '#8d396f',
950: '#000000',
},
}SCSS
$custom: #8d396f; $custom-light: #b17498; $custom-dark: #000000;
JSON
{
"hex": "#8d396f",
"rgb": {
"r": 141,
"g": 57,
"b": 111
},
"hsl": {
"h": 321.429,
"s": 42.424,
"l": 38.824
},
"oklch": {
"l": 0.4772,
"c": 0.131,
"h": 343.8
},
"luminance": 0.09737
}Semantic roles & 50–950 ramp
primary
#8D396F
secondary
#70B288
accent
#D28256
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080D
muted
#807B7E