#8A1E45#8A1E45
#8A1E45 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.6% C 0.145 H 4.3°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1E45 |
|---|---|
| RGB | rgb(138, 30, 69) |
| HSL | hsl(338, 64%, 33%) |
| HSV | hsv(338, 78%, 54%) |
| CMYK | cmyk(0%, 78.3%, 50%, 45.9%) |
| CIE-LAB | lab(31.26, 47.26, 4.12) |
| CIE-LCH | lch(31.26, 47.44, 4.99°) |
| OKLab | oklab(42.63% 0.1447 0.011) |
| OKLCH | oklch(42.63% 0.145 4.3) |
| XYZ | xyz(12.0207, 6.7631, 6.3015) |
| Luminance | 0.0676 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.01
Purple Red
#990147
ΔE00 3.13
Mulberry
#920A4E
ΔE00 3.62
Wine (survey)
#80013F
ΔE00 4.00
Reddish Purple
#910951
ΔE00 4.48
Red Purple
#820747
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1E45 #1E8A63
analogous
#8A1E7B #8A1E45 #8A2D1E
triadic
#8A1E45 #458A1E #1E458A
tetradic
#8A1E45 #7B8A1E #1E8A63 #2D1E8A
square
#8A1E45 #7B8A1E #1E8A63 #2D1E8A
split-complementary
#8A1E45 #1E8A2D #1E7B8A
monochromatic
#250813 #58132C #8A1E45 #BC295E #D84B7E
Accessibility & contrast
On white
8.93
#8A1E45 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#8A1E45 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1E45
8.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1E45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1E45 | 1.00 | 8.93 | 2.35 | 8.93 |
| #FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383C46
Deuteranopia (green-blind)
#555142
Tritanopia (blue-blind)
#97032F
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8a1e45; /* rgb */ color: rgb(138, 30, 69); /* oklch */ color: oklch(42.6% 0.145 4.3);
Tailwind
colors: {
custom: {
50: '#b16578',
500: '#8a1e45',
950: '#000000',
},
}SCSS
$custom: #8a1e45; $custom-light: #b16578; $custom-dark: #000000;
JSON
{
"hex": "#8a1e45",
"rgb": {
"r": 138,
"g": 30,
"b": 69
},
"hsl": {
"h": 338.333,
"s": 64.286,
"l": 32.941
},
"oklch": {
"l": 0.4263,
"c": 0.14507,
"h": 4.3
},
"luminance": 0.06761
}Semantic roles & 50–950 ramp
primary
#8A1E45
secondary
#4ABA92
accent
#E7AB41
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B