#8A1B40#8A1B40
#8A1B40 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.2% C 0.147 H 6.8°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1B40 |
|---|---|
| RGB | rgb(138, 27, 64) |
| HSL | hsl(340, 67%, 32%) |
| HSV | hsv(340, 80%, 54%) |
| CMYK | cmyk(0%, 80.4%, 53.6%, 45.9%) |
| CIE-LAB | lab(30.78, 47.79, 6.75) |
| CIE-LCH | lch(30.78, 48.26, 8.04°) |
| OKLab | oklab(42.23% 0.1458 0.0175) |
| OKLCH | oklch(42.23% 0.147 6.8) |
| XYZ | xyz(11.7997, 6.5590, 5.4942) |
| Luminance | 0.0656 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 3.36
Purple Red
#990147
ΔE00 3.38
Berry
#990F4B
ΔE00 3.63
Wine (survey)
#80013F
ΔE00 4.40
Mulberry
#920A4E
ΔE00 4.72
Cranberry
#9E003A
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1B40 #1B8A65
analogous
#8A1B78 #8A1B40 #8A2D1B
triadic
#8A1B40 #408A1B #1B408A
tetradic
#8A1B40 #788A1B #1B8A65 #2D1B8A
square
#8A1B40 #788A1B #1B8A65 #2D1B8A
split-complementary
#8A1B40 #1B8A2D #1B788A
monochromatic
#240711 #571128 #8A1B40 #BD2558 #DB4577
Accessibility & contrast
On white
9.09
#8A1B40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#8A1B40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1B40
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1B40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1B40 | 1.00 | 9.09 | 2.31 | 9.09 |
| #FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383A41
Deuteranopia (green-blind)
#55503D
Tritanopia (blue-blind)
#97002B
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8a1b40; /* rgb */ color: rgb(138, 27, 64); /* oklch */ color: oklch(42.2% 0.147 6.8);
Tailwind
colors: {
custom: {
50: '#b26474',
500: '#8a1b40',
950: '#000000',
},
}SCSS
$custom: #8a1b40; $custom-light: #b26474; $custom-dark: #000000;
JSON
{
"hex": "#8a1b40",
"rgb": {
"r": 138,
"g": 27,
"b": 64
},
"hsl": {
"h": 340,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.4223,
"c": 0.14685,
"h": 6.8
},
"luminance": 0.06557
}Semantic roles & 50–950 ramp
primary
#8A1B40
secondary
#45BC94
accent
#EAB13E
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B