#8A1F46#8A1F46
#8A1F46 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.7% C 0.144 H 3.9°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F46 |
|---|---|
| RGB | rgb(138, 31, 70) |
| HSL | hsl(338, 63%, 33%) |
| HSV | hsv(338, 78%, 54%) |
| CMYK | cmyk(0%, 77.5%, 49.3%, 45.9%) |
| CIE-LAB | lab(31.41, 47.02, 3.68) |
| CIE-LCH | lch(31.41, 47.16, 4.47°) |
| OKLab | oklab(42.75% 0.144 0.0099) |
| OKLCH | oklch(42.75% 0.144 3.9) |
| XYZ | xyz(12.0777, 6.8271, 6.4749) |
| Luminance | 0.0683 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.99
Purple Red
#990147
ΔE00 3.19
Mulberry
#920A4E
ΔE00 3.49
Wine (survey)
#80013F
ΔE00 4.04
Reddish Purple
#910951
ΔE00 4.33
Red Purple
#820747
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F46 #1F8A63
analogous
#8A1F7B #8A1F46 #8A2D1F
triadic
#8A1F46 #468A1F #1F468A
tetradic
#8A1F46 #7B8A1F #1F8A63 #2D1F8A
square
#8A1F46 #7B8A1F #1F8A63 #2D1F8A
split-complementary
#8A1F46 #1F8A2D #1F7B8A
monochromatic
#260913 #58142D #8A1F46 #BC2A5F #D74C7F
Accessibility & contrast
On white
8.88
#8A1F46 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#8A1F46 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F46
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F46 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F46 | 1.00 | 8.88 | 2.37 | 8.88 |
| #FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393D47
Deuteranopia (green-blind)
#555143
Tritanopia (blue-blind)
#960630
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8a1f46; /* rgb */ color: rgb(138, 31, 70); /* oklch */ color: oklch(42.7% 0.144 3.9);
Tailwind
colors: {
custom: {
50: '#b16579',
500: '#8a1f46',
950: '#000000',
},
}SCSS
$custom: #8a1f46; $custom-light: #b16579; $custom-dark: #000000;
JSON
{
"hex": "#8a1f46",
"rgb": {
"r": 138,
"g": 31,
"b": 70
},
"hsl": {
"h": 338.131,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.42748,
"c": 0.14429,
"h": 3.9
},
"luminance": 0.06825
}Semantic roles & 50–950 ramp
primary
#8A1F46
secondary
#4BBA91
accent
#E6AA41
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B