#8A4271#8A4271
#8A4271 is a mid, moderate pink. Relative luminance 0.105; OKLCH L 48.7% C 0.115 H 342.4°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4271 |
|---|---|
| RGB | rgb(138, 66, 113) |
| HSL | hsl(321, 35%, 40%) |
| HSV | hsv(321, 52%, 54%) |
| CMYK | cmyk(0%, 52.2%, 18.1%, 45.9%) |
| CIE-LAB | lab(38.71, 36.81, -13.01) |
| CIE-LCH | lch(38.71, 39.04, 340.54°) |
| OKLab | oklab(48.65% 0.1091 -0.0346) |
| OKLCH | oklch(48.65% 0.115 342.4) |
| XYZ | xyz(15.4104, 10.4931, 16.8333) |
| Luminance | 0.1049 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bruise
#7E4071
ΔE00 3.07
Light Eggplant
#894585
ΔE00 5.20
Dirty Purple
#734A65
ΔE00 6.77
Dark Mauve
#874C62
ΔE00 6.87
Purplish
#94568C
ΔE00 7.13
Light Plum
#9D5783
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4271 #428A5B
analogous
#7F428A #8A4271 #8A424D
triadic
#8A4271 #718A42 #42718A
tetradic
#8A4271 #8A7F42 #428A5B #424D8A
square
#8A4271 #8A7F42 #428A5B #424D8A
split-complementary
#8A4271 #4D8A42 #428A7F
monochromatic
#371A2D #612E4F #8A4271 #B05992 #C483AD
Accessibility & contrast
On white
6.78
#8A4271 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#8A4271 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4271
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4271 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4271 | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#475473
Deuteranopia (green-blind)
#5A5F6F
Tritanopia (blue-blind)
#924254
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #8a4271; /* rgb */ color: rgb(138, 66, 113); /* oklch */ color: oklch(48.7% 0.115 342.4);
Tailwind
colors: {
custom: {
50: '#ae7999',
500: '#8a4271',
950: '#000000',
},
}SCSS
$custom: #8a4271; $custom-light: #ae7999; $custom-dark: #000000;
JSON
{
"hex": "#8a4271",
"rgb": {
"r": 138,
"g": 66,
"b": 113
},
"hsl": {
"h": 320.833,
"s": 35.294,
"l": 40
},
"oklch": {
"l": 0.48652,
"c": 0.11451,
"h": 342.4
},
"luminance": 0.10492
}Semantic roles & 50–950 ramp
primary
#8A4271
secondary
#79AE8C
accent
#CB835C
background
#FAF7F9
surface
#F5EEF2
border
#CFC9CC
text
#11090E
muted
#807B7E