#8A1E46#8A1E46
#8A1E46 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.7% C 0.145 H 3.7°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1E46 |
|---|---|
| RGB | rgb(138, 30, 70) |
| HSL | hsl(338, 64%, 33%) |
| HSV | hsv(338, 78%, 54%) |
| CMYK | cmyk(0%, 78.3%, 49.3%, 45.9%) |
| CIE-LAB | lab(31.29, 47.36, 3.51) |
| CIE-LCH | lch(31.29, 47.48, 4.23°) |
| OKLab | oklab(42.66% 0.145 0.0095) |
| OKLCH | oklch(42.66% 0.145 3.7) |
| XYZ | xyz(12.0520, 6.7757, 6.4664) |
| Luminance | 0.0677 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.93
Purple Red
#990147
ΔE00 3.12
Mulberry
#920A4E
ΔE00 3.35
Wine (survey)
#80013F
ΔE00 3.89
Reddish Purple
#910951
ΔE00 4.19
Red Purple
#820747
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1E46 #1E8A62
analogous
#8A1E7C #8A1E46 #8A2C1E
triadic
#8A1E46 #468A1E #1E468A
tetradic
#8A1E46 #7C8A1E #1E8A62 #2C1E8A
square
#8A1E46 #7C8A1E #1E8A62 #2C1E8A
split-complementary
#8A1E46 #1E8A2C #1E7C8A
monochromatic
#250813 #58132C #8A1E46 #BC295F #D84B7F
Accessibility & contrast
On white
8.92
#8A1E46 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#8A1E46 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1E46
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1E46 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1E46 | 1.00 | 8.92 | 2.35 | 8.92 |
| #FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383C47
Deuteranopia (green-blind)
#555143
Tritanopia (blue-blind)
#96042F
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8a1e46; /* rgb */ color: rgb(138, 30, 70); /* oklch */ color: oklch(42.7% 0.145 3.7);
Tailwind
colors: {
custom: {
50: '#b16579',
500: '#8a1e46',
950: '#000000',
},
}SCSS
$custom: #8a1e46; $custom-light: #b16579; $custom-dark: #000000;
JSON
{
"hex": "#8a1e46",
"rgb": {
"r": 138,
"g": 30,
"b": 70
},
"hsl": {
"h": 337.778,
"s": 64.286,
"l": 32.941
},
"oklch": {
"l": 0.42661,
"c": 0.14534,
"h": 3.7
},
"luminance": 0.06774
}Semantic roles & 50–950 ramp
primary
#8A1E46
secondary
#4ABA90
accent
#E7AA41
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B