#8A1B46#8A1B46
#8A1B46 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.148 H 3.2°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1B46 |
|---|---|
| RGB | rgb(138, 27, 70) |
| HSL | hsl(337, 67%, 32%) |
| HSV | hsv(337, 80%, 54%) |
| CMYK | cmyk(0%, 80.4%, 49.3%, 45.9%) |
| CIE-LAB | lab(30.95, 48.31, 3.02) |
| CIE-LCH | lch(30.95, 48.41, 3.57°) |
| OKLab | oklab(42.41% 0.1481 0.0082) |
| OKLCH | oklch(42.41% 0.148 3.2) |
| XYZ | xyz(11.9797, 6.6310, 6.4422) |
| Luminance | 0.0663 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.82
Mulberry
#920A4E
ΔE00 2.97
Purple Red
#990147
ΔE00 2.98
Wine (survey)
#80013F
ΔE00 3.49
Reddish Purple
#910951
ΔE00 3.81
Red Purple
#820747
ΔE00 3.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1B46 #1B8A5F
analogous
#8A1B7D #8A1B46 #8A281B
triadic
#8A1B46 #468A1B #1B468A
tetradic
#8A1B46 #7D8A1B #1B8A5F #281B8A
square
#8A1B46 #7D8A1B #1B8A5F #281B8A
split-complementary
#8A1B46 #1B8A28 #1B7D8A
monochromatic
#240712 #57112C #8A1B46 #BD2560 #DB457F
Accessibility & contrast
On white
9.03
#8A1B46 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#8A1B46 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1B46
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1B46 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1B46 | 1.00 | 9.03 | 2.33 | 9.03 |
| #FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373B47
Deuteranopia (green-blind)
#545143
Tritanopia (blue-blind)
#97002E
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8a1b46; /* rgb */ color: rgb(138, 27, 70); /* oklch */ color: oklch(42.4% 0.148 3.2);
Tailwind
colors: {
custom: {
50: '#b26479',
500: '#8a1b46',
950: '#000000',
},
}SCSS
$custom: #8a1b46; $custom-light: #b26479; $custom-dark: #000000;
JSON
{
"hex": "#8a1b46",
"rgb": {
"r": 138,
"g": 27,
"b": 70
},
"hsl": {
"h": 336.757,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.42411,
"c": 0.14834,
"h": 3.2
},
"luminance": 0.06629
}Semantic roles & 50–950 ramp
primary
#8A1B46
secondary
#45BC8E
accent
#EAA73E
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B