#8A396F#8A396F
#8A396F is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.3% C 0.128 H 342.4°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #8A396F |
|---|---|
| RGB | rgb(138, 57, 111) |
| HSL | hsl(320, 42%, 38%) |
| HSV | hsv(320, 59%, 54%) |
| CMYK | cmyk(0%, 58.7%, 19.6%, 45.9%) |
| CIE-LAB | lab(36.89, 41.11, -14.54) |
| CIE-LCH | lch(36.89, 43.60, 340.52°) |
| OKLab | oklab(47.27% 0.1224 -0.0388) |
| OKLCH | oklch(47.27% 0.128 342.4) |
| XYZ | xyz(14.8139, 9.4785, 16.0852) |
| Luminance | 0.0948 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 3.26
Light Eggplant
#894585
ΔE00 5.51
Grape
#6C3461
ΔE00 6.44
Red Violet
#9E0168
ΔE00 6.75
Warm Purple
#952E8F
ΔE00 7.54
Dirty Purple
#734A65
ΔE00 8.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A396F #398A54
analogous
#7C398A #8A396F #8A3946
triadic
#8A396F #6F8A39 #396F8A
tetradic
#8A396F #8A7C39 #398A54 #39468A
square
#8A396F #8A7C39 #398A54 #39468A
split-complementary
#8A396F #468A39 #398A7C
monochromatic
#331529 #5F274C #8A396F #B54B92 #C777AC
Accessibility & contrast
On white
7.25
#8A396F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#8A396F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A396F
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A396F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A396F | 1.00 | 7.25 | 2.90 | 7.25 |
| #FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4E71
Deuteranopia (green-blind)
#565C6D
Tritanopia (blue-blind)
#923A4F
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #8a396f; /* rgb */ color: rgb(138, 57, 111); /* oklch */ color: oklch(47.3% 0.128 342.4);
Tailwind
colors: {
custom: {
50: '#af7498',
500: '#8a396f',
950: '#000000',
},
}SCSS
$custom: #8a396f; $custom-light: #af7498; $custom-dark: #000000;
JSON
{
"hex": "#8a396f",
"rgb": {
"r": 138,
"g": 57,
"b": 111
},
"hsl": {
"h": 320,
"s": 41.538,
"l": 38.235
},
"oklch": {
"l": 0.47271,
"c": 0.12842,
"h": 342.4
},
"luminance": 0.09477
}Semantic roles & 50–950 ramp
primary
#8A396F
secondary
#6FB085
accent
#D17F56
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080D
muted
#807B7E