#8A1B4B#8A1B4B
#8A1B4B is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.6% C 0.150 H 0.1°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1B4B |
|---|---|
| RGB | rgb(138, 27, 75) |
| HSL | hsl(334, 67%, 32%) |
| HSV | hsv(334, 80%, 54%) |
| CMYK | cmyk(0%, 80.4%, 45.7%, 45.9%) |
| CIE-LAB | lab(31.11, 48.79, -0.06) |
| CIE-LCH | lch(31.11, 48.79, 359.93°) |
| OKLab | oklab(42.58% 0.1499 0.0004) |
| OKLCH | oklch(42.58% 0.15 0.1) |
| XYZ | xyz(12.1441, 6.6968, 7.3084) |
| Luminance | 0.0669 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 1.96
Reddish Purple
#910951
ΔE00 2.49
Red Purple
#820747
ΔE00 2.95
Berry
#990F4B
ΔE00 3.09
Wine (survey)
#80013F
ΔE00 3.51
Purple Red
#990147
ΔE00 3.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1B4B #1B8A5A
analogous
#8A1B83 #8A1B4B #8A221B
triadic
#8A1B4B #4B8A1B #1B4B8A
tetradic
#8A1B4B #838A1B #1B8A5A #221B8A
square
#8A1B4B #838A1B #1B8A5A #221B8A
split-complementary
#8A1B4B #1B8A22 #1B838A
monochromatic
#240713 #57112F #8A1B4B #BD2567 #DB4586
Accessibility & contrast
On white
8.98
#8A1B4B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#8A1B4B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1B4B
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1B4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1B4B | 1.00 | 8.98 | 2.34 | 8.98 |
| #FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353C4C
Deuteranopia (green-blind)
#535148
Tritanopia (blue-blind)
#960231
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8a1b4b; /* rgb */ color: rgb(138, 27, 75); /* oklch */ color: oklch(42.6% 0.150 0.1);
Tailwind
colors: {
custom: {
50: '#b1647d',
500: '#8a1b4b',
950: '#000000',
},
}SCSS
$custom: #8a1b4b; $custom-light: #b1647d; $custom-dark: #000000;
JSON
{
"hex": "#8a1b4b",
"rgb": {
"r": 138,
"g": 27,
"b": 75
},
"hsl": {
"h": 334.054,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.42575,
"c": 0.14992,
"h": 0.1
},
"luminance": 0.06695
}Semantic roles & 50–950 ramp
primary
#8A1B4B
secondary
#45BC88
accent
#EAA03E
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B