#8A1B48#8A1B48
#8A1B48 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.149 H 2.0°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1B48 |
|---|---|
| RGB | rgb(138, 27, 72) |
| HSL | hsl(336, 67%, 32%) |
| HSV | hsv(336, 80%, 54%) |
| CMYK | cmyk(0%, 80.4%, 47.8%, 45.9%) |
| CIE-LAB | lab(31.01, 48.50, 1.78) |
| CIE-LCH | lch(31.01, 48.53, 2.10°) |
| OKLab | oklab(42.48% 0.1489 0.0051) |
| OKLCH | oklch(42.48% 0.149 2) |
| XYZ | xyz(12.0439, 6.6567, 6.7803) |
| Luminance | 0.0665 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 2.49
Berry
#990F4B
ΔE00 2.82
Purple Red
#990147
ΔE00 3.13
Reddish Purple
#910951
ΔE00 3.24
Wine (survey)
#80013F
ΔE00 3.41
Red Purple
#820747
ΔE00 3.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1B48 #1B8A5D
analogous
#8A1B7F #8A1B48 #8A261B
triadic
#8A1B48 #488A1B #1B488A
tetradic
#8A1B48 #7F8A1B #1B8A5D #261B8A
square
#8A1B48 #7F8A1B #1B8A5D #261B8A
split-complementary
#8A1B48 #1B8A26 #1B7F8A
monochromatic
#240713 #57112D #8A1B48 #BD2563 #DB4582
Accessibility & contrast
On white
9.01
#8A1B48 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#8A1B48 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1B48
9.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1B48 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1B48 | 1.00 | 9.01 | 2.33 | 9.01 |
| #FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363B49
Deuteranopia (green-blind)
#545145
Tritanopia (blue-blind)
#96002F
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8a1b48; /* rgb */ color: rgb(138, 27, 72); /* oklch */ color: oklch(42.5% 0.149 2.0);
Tailwind
colors: {
custom: {
50: '#b1647a',
500: '#8a1b48',
950: '#000000',
},
}SCSS
$custom: #8a1b48; $custom-light: #b1647a; $custom-dark: #000000;
JSON
{
"hex": "#8a1b48",
"rgb": {
"r": 138,
"g": 27,
"b": 72
},
"hsl": {
"h": 335.676,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.42476,
"c": 0.14894,
"h": 2
},
"luminance": 0.06655
}Semantic roles & 50–950 ramp
primary
#8A1B48
secondary
#45BC8C
accent
#EAA43E
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B