#8A1E48#8A1E48
#8A1E48 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.7% C 0.146 H 2.5°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1E48 |
|---|---|
| RGB | rgb(138, 30, 72) |
| HSL | hsl(337, 64%, 33%) |
| HSV | hsv(337, 78%, 54%) |
| CMYK | cmyk(0%, 78.3%, 47.8%, 45.9%) |
| CIE-LAB | lab(31.35, 47.54, 2.27) |
| CIE-LCH | lch(31.35, 47.60, 2.74°) |
| OKLab | oklab(42.72% 0.1458 0.0063) |
| OKLCH | oklch(42.72% 0.146 2.5) |
| XYZ | xyz(12.1162, 6.8013, 6.8044) |
| Luminance | 0.0680 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 2.86
Berry
#990F4B
ΔE00 2.87
Purple Red
#990147
ΔE00 3.21
Reddish Purple
#910951
ΔE00 3.62
Wine (survey)
#80013F
ΔE00 3.77
Red Purple
#820747
ΔE00 3.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1E48 #1E8A60
analogous
#8A1E7E #8A1E48 #8A2A1E
triadic
#8A1E48 #488A1E #1E488A
tetradic
#8A1E48 #7E8A1E #1E8A60 #2A1E8A
square
#8A1E48 #7E8A1E #1E8A60 #2A1E8A
split-complementary
#8A1E48 #1E8A2A #1E7E8A
monochromatic
#250814 #58132E #8A1E48 #BC2962 #D84B82
Accessibility & contrast
On white
8.90
#8A1E48 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#8A1E48 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1E48
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1E48 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1E48 | 1.00 | 8.90 | 2.36 | 8.90 |
| #FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383C49
Deuteranopia (green-blind)
#555145
Tritanopia (blue-blind)
#960630
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8a1e48; /* rgb */ color: rgb(138, 30, 72); /* oklch */ color: oklch(42.7% 0.146 2.5);
Tailwind
colors: {
custom: {
50: '#b1657a',
500: '#8a1e48',
950: '#000000',
},
}SCSS
$custom: #8a1e48; $custom-light: #b1657a; $custom-dark: #000000;
JSON
{
"hex": "#8a1e48",
"rgb": {
"r": 138,
"g": 30,
"b": 72
},
"hsl": {
"h": 336.667,
"s": 64.286,
"l": 32.941
},
"oklch": {
"l": 0.42724,
"c": 0.14591,
"h": 2.5
},
"luminance": 0.068
}Semantic roles & 50–950 ramp
primary
#8A1E48
secondary
#4ABA8E
accent
#E7A641
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B