#8A1B47#8A1B47
#8A1B47 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.149 H 2.6°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1B47 |
|---|---|
| RGB | rgb(138, 27, 71) |
| HSL | hsl(336, 67%, 32%) |
| HSV | hsv(336, 80%, 54%) |
| CMYK | cmyk(0%, 80.4%, 48.6%, 45.9%) |
| CIE-LAB | lab(30.98, 48.41, 2.40) |
| CIE-LCH | lch(30.98, 48.47, 2.84°) |
| OKLab | oklab(42.44% 0.1485 0.0067) |
| OKLCH | oklch(42.44% 0.149 2.6) |
| XYZ | xyz(12.0115, 6.6437, 6.6099) |
| Luminance | 0.0664 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 2.72
Berry
#990F4B
ΔE00 2.80
Purple Red
#990147
ΔE00 3.04
Wine (survey)
#80013F
ΔE00 3.43
Reddish Purple
#910951
ΔE00 3.52
Red Purple
#820747
ΔE00 3.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1B47 #1B8A5E
analogous
#8A1B7F #8A1B47 #8A261B
triadic
#8A1B47 #478A1B #1B478A
tetradic
#8A1B47 #7F8A1B #1B8A5E #261B8A
square
#8A1B47 #7F8A1B #1B8A5E #261B8A
split-complementary
#8A1B47 #1B8A26 #1B7F8A
monochromatic
#240712 #57112D #8A1B47 #BD2561 #DB4580
Accessibility & contrast
On white
9.02
#8A1B47 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#8A1B47 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1B47
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1B47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1B47 | 1.00 | 9.02 | 2.33 | 9.02 |
| #FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363B48
Deuteranopia (green-blind)
#545144
Tritanopia (blue-blind)
#96002F
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8a1b47; /* rgb */ color: rgb(138, 27, 71); /* oklch */ color: oklch(42.4% 0.149 2.6);
Tailwind
colors: {
custom: {
50: '#b1647a',
500: '#8a1b47',
950: '#000000',
},
}SCSS
$custom: #8a1b47; $custom-light: #b1647a; $custom-dark: #000000;
JSON
{
"hex": "#8a1b47",
"rgb": {
"r": 138,
"g": 27,
"b": 71
},
"hsl": {
"h": 336.216,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.42443,
"c": 0.14863,
"h": 2.6
},
"luminance": 0.06642
}Semantic roles & 50–950 ramp
primary
#8A1B47
secondary
#45BC8D
accent
#EAA63E
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B