#8A1F45#8A1F45
#8A1F45 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.7% C 0.144 H 4.6°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F45 |
|---|---|
| RGB | rgb(138, 31, 69) |
| HSL | hsl(339, 63%, 33%) |
| HSV | hsv(339, 78%, 54%) |
| CMYK | cmyk(0%, 77.5%, 50%, 45.9%) |
| CIE-LAB | lab(31.38, 46.93, 4.29) |
| CIE-LCH | lch(31.38, 47.12, 5.23°) |
| OKLab | oklab(42.72% 0.1436 0.0114) |
| OKLCH | oklch(42.72% 0.144 4.6) |
| XYZ | xyz(12.0464, 6.8146, 6.3101) |
| Luminance | 0.0681 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.08
Purple Red
#990147
ΔE00 3.21
Mulberry
#920A4E
ΔE00 3.76
Wine (survey)
#80013F
ΔE00 4.15
Reddish Purple
#910951
ΔE00 4.62
Red Purple
#820747
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F45 #1F8A64
analogous
#8A1F7A #8A1F45 #8A2F1F
triadic
#8A1F45 #458A1F #1F458A
tetradic
#8A1F45 #7A8A1F #1F8A64 #2F1F8A
square
#8A1F45 #7A8A1F #1F8A64 #2F1F8A
split-complementary
#8A1F45 #1F8A2F #1F7A8A
monochromatic
#260913 #58142C #8A1F45 #BC2A5E #D74C7E
Accessibility & contrast
On white
8.89
#8A1F45 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#8A1F45 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F45
8.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F45 | 1.00 | 8.89 | 2.36 | 8.89 |
| #FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393C46
Deuteranopia (green-blind)
#555142
Tritanopia (blue-blind)
#97052F
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8a1f45; /* rgb */ color: rgb(138, 31, 69); /* oklch */ color: oklch(42.7% 0.144 4.6);
Tailwind
colors: {
custom: {
50: '#b16578',
500: '#8a1f45',
950: '#000000',
},
}SCSS
$custom: #8a1f45; $custom-light: #b16578; $custom-dark: #000000;
JSON
{
"hex": "#8a1f45",
"rgb": {
"r": 138,
"g": 31,
"b": 69
},
"hsl": {
"h": 338.692,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.42718,
"c": 0.14402,
"h": 4.6
},
"luminance": 0.06813
}Semantic roles & 50–950 ramp
primary
#8A1F45
secondary
#4BBA92
accent
#E6AC41
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B