#8A1F49#8A1F49
#8A1F49 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.8% C 0.145 H 2.1°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F49 |
|---|---|
| RGB | rgb(138, 31, 73) |
| HSL | hsl(336, 63%, 33%) |
| HSV | hsv(336, 78%, 54%) |
| CMYK | cmyk(0%, 77.5%, 47.1%, 45.9%) |
| CIE-LAB | lab(31.50, 47.30, 1.83) |
| CIE-LCH | lch(31.50, 47.34, 2.21°) |
| OKLab | oklab(42.84% 0.1451 0.0052) |
| OKLCH | oklch(42.84% 0.145 2.1) |
| XYZ | xyz(12.1748, 6.8659, 6.9862) |
| Luminance | 0.0686 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 2.78
Berry
#990F4B
ΔE00 2.92
Purple Red
#990147
ΔE00 3.33
Reddish Purple
#910951
ΔE00 3.50
Red Purple
#820747
ΔE00 3.82
Wine (survey)
#80013F
ΔE00 3.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F49 #1F8A60
analogous
#8A1F7E #8A1F49 #8A2B1F
triadic
#8A1F49 #498A1F #1F498A
tetradic
#8A1F49 #7E8A1F #1F8A60 #2B1F8A
square
#8A1F49 #7E8A1F #1F8A60 #2B1F8A
split-complementary
#8A1F49 #1F8A2B #1F7E8A
monochromatic
#260914 #58142F #8A1F49 #BC2A63 #D74C83
Accessibility & contrast
On white
8.85
#8A1F49 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#8A1F49 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F49
8.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F49 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F49 | 1.00 | 8.85 | 2.37 | 8.85 |
| #FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383D4A
Deuteranopia (green-blind)
#555247
Tritanopia (blue-blind)
#960931
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8a1f49; /* rgb */ color: rgb(138, 31, 73); /* oklch */ color: oklch(42.8% 0.145 2.1);
Tailwind
colors: {
custom: {
50: '#b1657b',
500: '#8a1f49',
950: '#000000',
},
}SCSS
$custom: #8a1f49; $custom-light: #b1657b; $custom-dark: #000000;
JSON
{
"hex": "#8a1f49",
"rgb": {
"r": 138,
"g": 31,
"b": 73
},
"hsl": {
"h": 336.449,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.42844,
"c": 0.14516,
"h": 2.1
},
"luminance": 0.06864
}Semantic roles & 50–950 ramp
primary
#8A1F49
secondary
#4BBA8E
accent
#E6A641
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B