#8A1B45#8A1B45
#8A1B45 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.148 H 3.8°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1B45 |
|---|---|
| RGB | rgb(138, 27, 69) |
| HSL | hsl(337, 67%, 32%) |
| HSV | hsv(337, 80%, 54%) |
| CMYK | cmyk(0%, 80.4%, 50%, 45.9%) |
| CIE-LAB | lab(30.92, 48.22, 3.64) |
| CIE-LCH | lch(30.92, 48.36, 4.31°) |
| OKLab | oklab(42.38% 0.1477 0.0098) |
| OKLCH | oklch(42.38% 0.148 3.8) |
| XYZ | xyz(11.9484, 6.6185, 6.2774) |
| Luminance | 0.0662 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.87
Purple Red
#990147
ΔE00 2.96
Mulberry
#920A4E
ΔE00 3.24
Wine (survey)
#80013F
ΔE00 3.58
Red Purple
#820747
ΔE00 4.07
Reddish Purple
#910951
ΔE00 4.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1B45 #1B8A60
analogous
#8A1B7D #8A1B45 #8A281B
triadic
#8A1B45 #458A1B #1B458A
tetradic
#8A1B45 #7D8A1B #1B8A60 #281B8A
square
#8A1B45 #7D8A1B #1B8A60 #281B8A
split-complementary
#8A1B45 #1B8A28 #1B7D8A
monochromatic
#240712 #57112B #8A1B45 #BD255F #DB457D
Accessibility & contrast
On white
9.04
#8A1B45 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#8A1B45 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1B45
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1B45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1B45 | 1.00 | 9.04 | 2.32 | 9.04 |
| #FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373B46
Deuteranopia (green-blind)
#545142
Tritanopia (blue-blind)
#97002E
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8a1b45; /* rgb */ color: rgb(138, 27, 69); /* oklch */ color: oklch(42.4% 0.148 3.8);
Tailwind
colors: {
custom: {
50: '#b26478',
500: '#8a1b45',
950: '#000000',
},
}SCSS
$custom: #8a1b45; $custom-light: #b26478; $custom-dark: #000000;
JSON
{
"hex": "#8a1b45",
"rgb": {
"r": 138,
"g": 27,
"b": 69
},
"hsl": {
"h": 337.297,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.4238,
"c": 0.14806,
"h": 3.8
},
"luminance": 0.06617
}Semantic roles & 50–950 ramp
primary
#8A1B45
secondary
#45BC8F
accent
#EAA93E
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B