#8A1F41#8A1F41
#8A1F41 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.6% C 0.143 H 7.0°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1F41 |
|---|---|
| RGB | rgb(138, 31, 65) |
| HSL | hsl(341, 63%, 33%) |
| HSV | hsv(341, 78%, 54%) |
| CMYK | cmyk(0%, 77.5%, 52.9%, 45.9%) |
| CIE-LAB | lab(31.27, 46.57, 6.78) |
| CIE-LCH | lch(31.27, 47.06, 8.28°) |
| OKLab | oklab(42.6% 0.142 0.0176) |
| OKLCH | oklch(42.6% 0.143 7) |
| XYZ | xyz(11.9264, 6.7666, 5.6781) |
| Luminance | 0.0677 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 3.63
Red Wine
#8C0034
ΔE00 3.67
Berry
#990F4B
ΔE00 3.76
Wine (survey)
#80013F
ΔE00 4.82
Cranberry
#9E003A
ΔE00 4.89
Mulberry
#920A4E
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1F41 #1F8A68
analogous
#8A1F76 #8A1F41 #8A331F
triadic
#8A1F41 #418A1F #1F418A
tetradic
#8A1F41 #768A1F #1F8A68 #331F8A
square
#8A1F41 #768A1F #1F8A68 #331F8A
split-complementary
#8A1F41 #1F8A33 #1F768A
monochromatic
#260912 #581429 #8A1F41 #BC2A59 #D74C78
Accessibility & contrast
On white
8.92
#8A1F41 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#8A1F41 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1F41
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1F41 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1F41 | 1.00 | 8.92 | 2.35 | 8.92 |
| #FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A3C42
Deuteranopia (green-blind)
#56513E
Tritanopia (blue-blind)
#97022D
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8a1f41; /* rgb */ color: rgb(138, 31, 65); /* oklch */ color: oklch(42.6% 0.143 7.0);
Tailwind
colors: {
custom: {
50: '#b26575',
500: '#8a1f41',
950: '#000000',
},
}SCSS
$custom: #8a1f41; $custom-light: #b26575; $custom-dark: #000000;
JSON
{
"hex": "#8a1f41",
"rgb": {
"r": 138,
"g": 31,
"b": 65
},
"hsl": {
"h": 340.935,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.42599,
"c": 0.14309,
"h": 7
},
"luminance": 0.06765
}Semantic roles & 50–950 ramp
primary
#8A1F41
secondary
#4BBA97
accent
#E6B241
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B