#8A1B49#8A1B49
#8A1B49 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.149 H 1.4°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1B49 |
|---|---|
| RGB | rgb(138, 27, 73) |
| HSL | hsl(335, 67%, 32%) |
| HSV | hsv(335, 80%, 54%) |
| CMYK | cmyk(0%, 80.4%, 47.1%, 45.9%) |
| CIE-LAB | lab(31.04, 48.59, 1.17) |
| CIE-LCH | lch(31.04, 48.61, 1.37°) |
| OKLab | oklab(42.51% 0.1492 0.0035) |
| OKLCH | oklch(42.51% 0.149 1.4) |
| XYZ | xyz(12.0768, 6.6698, 6.9535) |
| Luminance | 0.0667 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 2.28
Berry
#990F4B
ΔE00 2.88
Reddish Purple
#910951
ΔE00 2.98
Red Purple
#820747
ΔE00 3.23
Purple Red
#990147
ΔE00 3.24
Wine (survey)
#80013F
ΔE00 3.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1B49 #1B8A5C
analogous
#8A1B81 #8A1B49 #8A241B
triadic
#8A1B49 #498A1B #1B498A
tetradic
#8A1B49 #818A1B #1B8A5C #241B8A
square
#8A1B49 #818A1B #1B8A5C #241B8A
split-complementary
#8A1B49 #1B8A24 #1B818A
monochromatic
#240713 #57112E #8A1B49 #BD2564 #DB4583
Accessibility & contrast
On white
9.00
#8A1B49 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#8A1B49 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1B49
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1B49 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1B49 | 1.00 | 9.00 | 2.33 | 9.00 |
| #FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363B4A
Deuteranopia (green-blind)
#545146
Tritanopia (blue-blind)
#960030
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8a1b49; /* rgb */ color: rgb(138, 27, 73); /* oklch */ color: oklch(42.5% 0.149 1.4);
Tailwind
colors: {
custom: {
50: '#b1647b',
500: '#8a1b49',
950: '#000000',
},
}SCSS
$custom: #8a1b49; $custom-light: #b1647b; $custom-dark: #000000;
JSON
{
"hex": "#8a1b49",
"rgb": {
"r": 138,
"g": 27,
"b": 73
},
"hsl": {
"h": 335.135,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.42508,
"c": 0.14925,
"h": 1.4
},
"luminance": 0.06668
}Semantic roles & 50–950 ramp
primary
#8A1B49
secondary
#45BC8B
accent
#EAA33E
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B