#8A1E4B#8A1E4B
#8A1E4B is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.147 H 0.6°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1E4B |
|---|---|
| RGB | rgb(138, 30, 75) |
| HSL | hsl(335, 64%, 33%) |
| HSV | hsv(335, 78%, 54%) |
| CMYK | cmyk(0%, 78.3%, 45.7%, 45.9%) |
| CIE-LAB | lab(31.44, 47.84, 0.43) |
| CIE-LCH | lch(31.44, 47.84, 0.51°) |
| OKLab | oklab(42.82% 0.1469 0.0016) |
| OKLCH | oklch(42.82% 0.147 0.6) |
| XYZ | xyz(12.2165, 6.8414, 7.3325) |
| Luminance | 0.0684 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 2.29
Reddish Purple
#910951
ΔE00 2.87
Berry
#990F4B
ΔE00 3.05
Red Purple
#820747
ΔE00 3.36
Purple Red
#990147
ΔE00 3.55
Wine (survey)
#80013F
ΔE00 3.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1E4B #1E8A5D
analogous
#8A1E81 #8A1E4B #8A271E
triadic
#8A1E4B #4B8A1E #1E4B8A
tetradic
#8A1E4B #818A1E #1E8A5D #271E8A
square
#8A1E4B #818A1E #1E8A5D #271E8A
split-complementary
#8A1E4B #1E8A27 #1E818A
monochromatic
#250814 #581330 #8A1E4B #BC2966 #D84B85
Accessibility & contrast
On white
8.87
#8A1E4B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#8A1E4B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1E4B
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1E4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1E4B | 1.00 | 8.87 | 2.37 | 8.87 |
| #FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373D4C
Deuteranopia (green-blind)
#545149
Tritanopia (blue-blind)
#960832
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8a1e4b; /* rgb */ color: rgb(138, 30, 75); /* oklch */ color: oklch(42.8% 0.147 0.6);
Tailwind
colors: {
custom: {
50: '#b1657d',
500: '#8a1e4b',
950: '#000000',
},
}SCSS
$custom: #8a1e4b; $custom-light: #b1657d; $custom-dark: #000000;
JSON
{
"hex": "#8a1e4b",
"rgb": {
"r": 138,
"g": 30,
"b": 75
},
"hsl": {
"h": 335,
"s": 64.286,
"l": 32.941
},
"oklch": {
"l": 0.42823,
"c": 0.14687,
"h": 0.6
},
"luminance": 0.0684
}Semantic roles & 50–950 ramp
primary
#8A1E4B
secondary
#4ABA8B
accent
#E7A241
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110609
muted
#807A7B