#8A1336#8A1336
#8A1336 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.4% C 0.152 H 11.3°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1336 |
|---|---|
| RGB | rgb(138, 19, 54) |
| HSL | hsl(342, 76%, 31%) |
| HSV | hsv(342, 86%, 54%) |
| CMYK | cmyk(0%, 86.2%, 60.9%, 45.9%) |
| CIE-LAB | lab(29.76, 49.22, 11.99) |
| CIE-LCH | lch(29.76, 50.66, 13.69°) |
| OKLab | oklab(41.39% 0.1489 0.0297) |
| OKLCH | oklch(41.39% 0.152 11.3) |
| XYZ | xyz(11.3811, 6.1371, 4.0746) |
| Luminance | 0.0614 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 1.31
Bordeaux
#7B002C
ΔE00 3.63
Cranberry
#9E003A
ΔE00 3.68
Wine Red
#7B0323
ΔE00 5.07
Purple Red
#990147
ΔE00 5.19
Berry
#990F4B
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1336 #138A67
analogous
#8A1371 #8A1336 #8A2B13
triadic
#8A1336 #368A13 #13368A
tetradic
#8A1336 #718A13 #138A67 #2B138A
square
#8A1336 #718A13 #138A67 #2B138A
split-complementary
#8A1336 #138A2B #13718A
monochromatic
#1E040C #540C21 #8A1336 #C01A4B #E33468
Accessibility & contrast
On white
9.43
#8A1336 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#8A1336 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1336
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1336 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1336 | 1.00 | 9.43 | 2.23 | 9.43 |
| #FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373736
Deuteranopia (green-blind)
#554F33
Tritanopia (blue-blind)
#980023
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #8a1336; /* rgb */ color: rgb(138, 19, 54); /* oklch */ color: oklch(41.4% 0.152 11.3);
Tailwind
colors: {
custom: {
50: '#b3616c',
500: '#8a1336',
950: '#000000',
},
}SCSS
$custom: #8a1336; $custom-light: #b3616c; $custom-dark: #000000;
JSON
{
"hex": "#8a1336",
"rgb": {
"r": 138,
"g": 19,
"b": 54
},
"hsl": {
"h": 342.353,
"s": 75.796,
"l": 30.784
},
"oklch": {
"l": 0.41394,
"c": 0.15184,
"h": 11.3
},
"luminance": 0.06135
}Semantic roles & 50–950 ramp
primary
#8A1336
secondary
#3ABE98
accent
#F2BB35
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120607
muted
#817A7A