#8A254B#8A254B
#8A254B is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.5% C 0.139 H 2.1°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).
Color values
| HEX | #8A254B |
|---|---|
| RGB | rgb(138, 37, 75) |
| HSL | hsl(337, 58%, 34%) |
| HSV | hsv(337, 73%, 54%) |
| CMYK | cmyk(0%, 73.2%, 45.7%, 45.9%) |
| CIE-LAB | lab(32.34, 45.33, 1.73) |
| CIE-LCH | lch(32.34, 45.36, 2.19°) |
| OKLab | oklab(43.48% 0.1388 0.005) |
| OKLCH | oklch(43.48% 0.139 2.1) |
| XYZ | xyz(12.4137, 7.2360, 7.3982) |
| Luminance | 0.0723 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.29
Mulberry
#920A4E
ΔE00 3.38
Purple Red
#990147
ΔE00 3.86
Reddish Purple
#910951
ΔE00 4.01
Red Purple
#820747
ΔE00 4.53
Wine (survey)
#80013F
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A254B #258A64
analogous
#8A257E #8A254B #8A3225
triadic
#8A254B #4B8A25 #254B8A
tetradic
#8A254B #7E8A25 #258A64 #32258A
square
#8A254B #7E8A25 #258A64 #32258A
split-complementary
#8A254B #258A32 #257E8A
monochromatic
#290B17 #5A1831 #8A254B #BA3265 #D25786
Accessibility & contrast
On white
8.58
#8A254B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#8A254B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A254B
8.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A254B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A254B | 1.00 | 8.58 | 2.45 | 8.58 |
| #FFFFFF | 8.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B404C
Deuteranopia (green-blind)
#565349
Tritanopia (blue-blind)
#961535
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #8a254b; /* rgb */ color: rgb(138, 37, 75); /* oklch */ color: oklch(43.5% 0.139 2.1);
Tailwind
colors: {
custom: {
50: '#b1687d',
500: '#8a254b',
950: '#000000',
},
}SCSS
$custom: #8a254b; $custom-light: #b1687d; $custom-dark: #000000;
JSON
{
"hex": "#8a254b",
"rgb": {
"r": 138,
"g": 37,
"b": 75
},
"hsl": {
"h": 337.426,
"s": 57.714,
"l": 34.314
},
"oklch": {
"l": 0.43482,
"c": 0.13893,
"h": 2.1
},
"luminance": 0.07234
}Semantic roles & 50–950 ramp
primary
#8A254B
secondary
#54B792
accent
#E1A747
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110709
muted
#807A7B