#8A1B4A#8A1B4A
#8A1B4A is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.150 H 0.8°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1B4A |
|---|---|
| RGB | rgb(138, 27, 74) |
| HSL | hsl(335, 67%, 32%) |
| HSV | hsv(335, 80%, 54%) |
| CMYK | cmyk(0%, 80.4%, 46.4%, 45.9%) |
| CIE-LAB | lab(31.07, 48.69, 0.55) |
| CIE-LCH | lch(31.07, 48.69, 0.65°) |
| OKLab | oklab(42.54% 0.1496 0.002) |
| OKLCH | oklch(42.54% 0.15 0.8) |
| XYZ | xyz(12.1102, 6.6832, 7.1295) |
| Luminance | 0.0668 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 2.10
Reddish Purple
#910951
ΔE00 2.72
Berry
#990F4B
ΔE00 2.97
Red Purple
#820747
ΔE00 3.08
Purple Red
#990147
ΔE00 3.39
Wine (survey)
#80013F
ΔE00 3.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1B4A #1B8A5B
analogous
#8A1B81 #8A1B4A #8A241B
triadic
#8A1B4A #4A8A1B #1B4A8A
tetradic
#8A1B4A #818A1B #1B8A5B #241B8A
square
#8A1B4A #818A1B #1B8A5B #241B8A
split-complementary
#8A1B4A #1B8A24 #1B818A
monochromatic
#240713 #57112F #8A1B4A #BD2565 #DB4584
Accessibility & contrast
On white
8.99
#8A1B4A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#8A1B4A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1B4A
8.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1B4A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1B4A | 1.00 | 8.99 | 2.34 | 8.99 |
| #FFFFFF | 8.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353C4B
Deuteranopia (green-blind)
#535147
Tritanopia (blue-blind)
#960130
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8a1b4a; /* rgb */ color: rgb(138, 27, 74); /* oklch */ color: oklch(42.5% 0.150 0.8);
Tailwind
colors: {
custom: {
50: '#b1647c',
500: '#8a1b4a',
950: '#000000',
},
}SCSS
$custom: #8a1b4a; $custom-light: #b1647c; $custom-dark: #000000;
JSON
{
"hex": "#8a1b4a",
"rgb": {
"r": 138,
"g": 27,
"b": 74
},
"hsl": {
"h": 334.595,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.42542,
"c": 0.14958,
"h": 0.8
},
"luminance": 0.06682
}Semantic roles & 50–950 ramp
primary
#8A1B4A
secondary
#45BC8A
accent
#EAA13E
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B