#8A1E4C#8A1E4C
#8A1E4C is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.9% C 0.147 H 0.0°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1E4C |
|---|---|
| RGB | rgb(138, 30, 76) |
| HSL | hsl(334, 64%, 33%) |
| HSV | hsv(334, 78%, 54%) |
| CMYK | cmyk(0%, 78.3%, 44.9%, 45.9%) |
| CIE-LAB | lab(31.48, 47.94, -0.18) |
| CIE-LCH | lch(31.48, 47.94, 359.78°) |
| OKLab | oklab(42.86% 0.1472 0.0001) |
| OKLCH | oklch(42.86% 0.147 0) |
| XYZ | xyz(12.2510, 6.8552, 7.5141) |
| Luminance | 0.0685 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 2.17
Reddish Purple
#910951
ΔE00 2.65
Berry
#990F4B
ΔE00 3.17
Red Purple
#820747
ΔE00 3.25
Purple Red
#990147
ΔE00 3.72
Wine (survey)
#80013F
ΔE00 3.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1E4C #1E8A5C
analogous
#8A1E82 #8A1E4C #8A261E
triadic
#8A1E4C #4C8A1E #1E4C8A
tetradic
#8A1E4C #828A1E #1E8A5C #261E8A
square
#8A1E4C #828A1E #1E8A5C #261E8A
split-complementary
#8A1E4C #1E8A26 #1E828A
monochromatic
#250815 #581330 #8A1E4C #BC2968 #D84B87
Accessibility & contrast
On white
8.86
#8A1E4C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#8A1E4C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1E4C
8.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1E4C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1E4C | 1.00 | 8.86 | 2.37 | 8.86 |
| #FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373D4D
Deuteranopia (green-blind)
#54524A
Tritanopia (blue-blind)
#960932
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8a1e4c; /* rgb */ color: rgb(138, 30, 76); /* oklch */ color: oklch(42.9% 0.147 0.0);
Tailwind
colors: {
custom: {
50: '#b1657d',
500: '#8a1e4c',
950: '#000000',
},
}SCSS
$custom: #8a1e4c; $custom-light: #b1657d; $custom-dark: #000000;
JSON
{
"hex": "#8a1e4c",
"rgb": {
"r": 138,
"g": 30,
"b": 76
},
"hsl": {
"h": 334.444,
"s": 64.286,
"l": 32.941
},
"oklch": {
"l": 0.42856,
"c": 0.14721,
"h": 0
},
"luminance": 0.06854
}Semantic roles & 50–950 ramp
primary
#8A1E4C
secondary
#4ABA8A
accent
#E7A041
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110609
muted
#807A7B