#8A254C#8A254C
#8A254C is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.5% C 0.139 H 1.4°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).
Color values
| HEX | #8A254C |
|---|---|
| RGB | rgb(138, 37, 76) |
| HSL | hsl(337, 58%, 34%) |
| HSV | hsv(337, 73%, 54%) |
| CMYK | cmyk(0%, 73.2%, 44.9%, 45.9%) |
| CIE-LAB | lab(32.37, 45.43, 1.12) |
| CIE-LCH | lch(32.37, 45.44, 1.41°) |
| OKLab | oklab(43.51% 0.1392 0.0034) |
| OKLCH | oklch(43.51% 0.139 1.4) |
| XYZ | xyz(12.4482, 7.2498, 7.5799) |
| Luminance | 0.0725 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 3.22
Berry
#990F4B
ΔE00 3.33
Reddish Purple
#910951
ΔE00 3.79
Purple Red
#990147
ΔE00 3.95
Red Purple
#820747
ΔE00 4.39
Wine (survey)
#80013F
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A254C #258A63
analogous
#8A257F #8A254C #8A3125
triadic
#8A254C #4C8A25 #254C8A
tetradic
#8A254C #7F8A25 #258A63 #31258A
square
#8A254C #7F8A25 #258A63 #31258A
split-complementary
#8A254C #258A31 #257F8A
monochromatic
#290B17 #5A1831 #8A254C #BA3267 #D25787
Accessibility & contrast
On white
8.57
#8A254C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#8A254C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A254C
8.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A254C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A254C | 1.00 | 8.57 | 2.45 | 8.57 |
| #FFFFFF | 8.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B404D
Deuteranopia (green-blind)
#56534A
Tritanopia (blue-blind)
#961635
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #8a254c; /* rgb */ color: rgb(138, 37, 76); /* oklch */ color: oklch(43.5% 0.139 1.4);
Tailwind
colors: {
custom: {
50: '#b1687d',
500: '#8a254c',
950: '#000000',
},
}SCSS
$custom: #8a254c; $custom-light: #b1687d; $custom-dark: #000000;
JSON
{
"hex": "#8a254c",
"rgb": {
"r": 138,
"g": 37,
"b": 76
},
"hsl": {
"h": 336.832,
"s": 57.714,
"l": 34.314
},
"oklch": {
"l": 0.43514,
"c": 0.13924,
"h": 1.4
},
"luminance": 0.07248
}Semantic roles & 50–950 ramp
primary
#8A254C
secondary
#54B791
accent
#E1A547
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110709
muted
#807A7B