#8A1B3A#8A1B3A
#8A1B3A is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.1% C 0.146 H 10.4°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1B3A |
|---|---|
| RGB | rgb(138, 27, 58) |
| HSL | hsl(343, 67%, 32%) |
| HSV | hsv(343, 80%, 54%) |
| CMYK | cmyk(0%, 80.4%, 58%, 45.9%) |
| CIE-LAB | lab(30.63, 47.31, 10.52) |
| CIE-LCH | lch(30.63, 48.46, 12.54°) |
| OKLab | oklab(42.07% 0.1434 0.0264) |
| OKLCH | oklch(42.07% 0.146 10.4) |
| XYZ | xyz(11.6380, 6.4943, 4.6429) |
| Luminance | 0.0649 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 2.23
Cranberry
#9E003A
ΔE00 3.87
Bordeaux
#7B002C
ΔE00 4.34
Purple Red
#990147
ΔE00 4.77
Berry
#990F4B
ΔE00 5.22
Wine Red
#7B0323
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1B3A #1B8A6B
analogous
#8A1B72 #8A1B3A #8A331B
triadic
#8A1B3A #3A8A1B #1B3A8A
tetradic
#8A1B3A #728A1B #1B8A6B #331B8A
square
#8A1B3A #728A1B #1B8A6B #331B8A
split-complementary
#8A1B3A #1B8A33 #1B728A
monochromatic
#24070F #571124 #8A1B3A #BD2550 #DB456F
Accessibility & contrast
On white
9.14
#8A1B3A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#8A1B3A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1B3A
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1B3A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1B3A | 1.00 | 9.14 | 2.30 | 9.14 |
| #FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393A3A
Deuteranopia (green-blind)
#565037
Tritanopia (blue-blind)
#970028
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8a1b3a; /* rgb */ color: rgb(138, 27, 58); /* oklch */ color: oklch(42.1% 0.146 10.4);
Tailwind
colors: {
custom: {
50: '#b2636f',
500: '#8a1b3a',
950: '#000000',
},
}SCSS
$custom: #8a1b3a; $custom-light: #b2636f; $custom-dark: #000000;
JSON
{
"hex": "#8a1b3a",
"rgb": {
"r": 138,
"g": 27,
"b": 58
},
"hsl": {
"h": 343.243,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.42066,
"c": 0.14582,
"h": 10.4
},
"luminance": 0.06493
}Semantic roles & 50–950 ramp
primary
#8A1B3A
secondary
#45BC9B
accent
#EABA3E
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A