#8A1B41#8A1B41
#8A1B41 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.147 H 6.2°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1B41 |
|---|---|
| RGB | rgb(138, 27, 65) |
| HSL | hsl(339, 67%, 32%) |
| HSV | hsv(339, 80%, 54%) |
| CMYK | cmyk(0%, 80.4%, 52.9%, 45.9%) |
| CIE-LAB | lab(30.81, 47.87, 6.13) |
| CIE-LCH | lch(30.81, 48.26, 7.29°) |
| OKLab | oklab(42.26% 0.1462 0.0159) |
| OKLCH | oklch(42.26% 0.147 6.2) |
| XYZ | xyz(11.8284, 6.5705, 5.6454) |
| Luminance | 0.0657 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 3.23
Berry
#990F4B
ΔE00 3.43
Red Wine
#8C0034
ΔE00 3.63
Wine (survey)
#80013F
ΔE00 4.19
Mulberry
#920A4E
ΔE00 4.41
Cranberry
#9E003A
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1B41 #1B8A64
analogous
#8A1B79 #8A1B41 #8A2C1B
triadic
#8A1B41 #418A1B #1B418A
tetradic
#8A1B41 #798A1B #1B8A64 #2C1B8A
square
#8A1B41 #798A1B #1B8A64 #2C1B8A
split-complementary
#8A1B41 #1B8A2C #1B798A
monochromatic
#240711 #571129 #8A1B41 #BD2559 #DB4578
Accessibility & contrast
On white
9.08
#8A1B41 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#8A1B41 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1B41
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1B41 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1B41 | 1.00 | 9.08 | 2.31 | 9.08 |
| #FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383A42
Deuteranopia (green-blind)
#55503E
Tritanopia (blue-blind)
#97002C
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8a1b41; /* rgb */ color: rgb(138, 27, 65); /* oklch */ color: oklch(42.3% 0.147 6.2);
Tailwind
colors: {
custom: {
50: '#b26475',
500: '#8a1b41',
950: '#000000',
},
}SCSS
$custom: #8a1b41; $custom-light: #b26475; $custom-dark: #000000;
JSON
{
"hex": "#8a1b41",
"rgb": {
"r": 138,
"g": 27,
"b": 65
},
"hsl": {
"h": 339.459,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.42259,
"c": 0.14708,
"h": 6.2
},
"luminance": 0.06569
}Semantic roles & 50–950 ramp
primary
#8A1B41
secondary
#45BC93
accent
#EAAF3E
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B