#8A1F40#8A1F40
#8A1F40 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.6% C 0.143 H 7.7°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F40 |
|---|---|
| RGB | rgb(138, 31, 64) |
| HSL | hsl(341, 63%, 33%) |
| HSV | hsv(341, 78%, 54%) |
| CMYK | cmyk(0%, 77.5%, 53.6%, 45.9%) |
| CIE-LAB | lab(31.24, 46.49, 7.40) |
| CIE-LCH | lch(31.24, 47.07, 9.05°) |
| OKLab | oklab(42.57% 0.1416 0.0191) |
| OKLCH | oklch(42.57% 0.143 7.7) |
| XYZ | xyz(11.8977, 6.7551, 5.5269) |
| Luminance | 0.0675 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 3.45
Purple Red
#990147
ΔE00 3.81
Berry
#990F4B
ΔE00 3.99
Cranberry
#9E003A
ΔE00 4.69
Wine (survey)
#80013F
ΔE00 5.03
Mulberry
#920A4E
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F40 #1F8A69
analogous
#8A1F75 #8A1F40 #8A331F
triadic
#8A1F40 #408A1F #1F408A
tetradic
#8A1F40 #758A1F #1F8A69 #331F8A
square
#8A1F40 #758A1F #1F8A69 #331F8A
split-complementary
#8A1F40 #1F8A33 #1F758A
monochromatic
#260912 #581429 #8A1F40 #BC2A57 #D74C77
Accessibility & contrast
On white
8.93
#8A1F40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#8A1F40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F40
8.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F40 | 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)
#3A3C41
Deuteranopia (green-blind)
#56513D
Tritanopia (blue-blind)
#97012D
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8a1f40; /* rgb */ color: rgb(138, 31, 64); /* oklch */ color: oklch(42.6% 0.143 7.7);
Tailwind
colors: {
custom: {
50: '#b26574',
500: '#8a1f40',
950: '#000000',
},
}SCSS
$custom: #8a1f40; $custom-light: #b26574; $custom-dark: #000000;
JSON
{
"hex": "#8a1f40",
"rgb": {
"r": 138,
"g": 31,
"b": 64
},
"hsl": {
"h": 341.495,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.42571,
"c": 0.1429,
"h": 7.7
},
"luminance": 0.06753
}Semantic roles & 50–950 ramp
primary
#8A1F40
secondary
#4BBA98
accent
#E6B341
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B