#8A1337#8A1337
#8A1337 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.4% C 0.152 H 10.7°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1337 |
|---|---|
| RGB | rgb(138, 19, 55) |
| HSL | hsl(342, 76%, 31%) |
| HSV | hsv(342, 86%, 54%) |
| CMYK | cmyk(0%, 86.2%, 60.1%, 45.9%) |
| CIE-LAB | lab(29.78, 49.29, 11.36) |
| CIE-LCH | lch(29.78, 50.58, 12.97°) |
| OKLab | oklab(41.42% 0.1493 0.0283) |
| OKLCH | oklch(41.42% 0.152 10.7) |
| XYZ | xyz(11.4049, 6.1466, 4.1996) |
| Luminance | 0.0614 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 1.31
Bordeaux
#7B002C
ΔE00 3.66
Cranberry
#9E003A
ΔE00 3.72
Purple Red
#990147
ΔE00 4.89
Wine Red
#7B0323
ΔE00 5.33
Berry
#990F4B
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1337 #138A66
analogous
#8A1372 #8A1337 #8A2B13
triadic
#8A1337 #378A13 #13378A
tetradic
#8A1337 #728A13 #138A66 #2B138A
square
#8A1337 #728A13 #138A66 #2B138A
split-complementary
#8A1337 #138A2B #13728A
monochromatic
#1E040C #540C22 #8A1337 #C01A4C #E33469
Accessibility & contrast
On white
9.42
#8A1337 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#8A1337 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1337
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1337 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1337 | 1.00 | 9.42 | 2.23 | 9.42 |
| #FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373738
Deuteranopia (green-blind)
#554F34
Tritanopia (blue-blind)
#980024
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #8a1337; /* rgb */ color: rgb(138, 19, 55); /* oklch */ color: oklch(41.4% 0.152 10.7);
Tailwind
colors: {
custom: {
50: '#b3616d',
500: '#8a1337',
950: '#000000',
},
}SCSS
$custom: #8a1337; $custom-light: #b3616d; $custom-dark: #000000;
JSON
{
"hex": "#8a1337",
"rgb": {
"r": 138,
"g": 19,
"b": 55
},
"hsl": {
"h": 341.849,
"s": 75.796,
"l": 30.784
},
"oklch": {
"l": 0.41419,
"c": 0.15197,
"h": 10.7
},
"luminance": 0.06145
}Semantic roles & 50–950 ramp
primary
#8A1337
secondary
#3ABE96
accent
#F2B935
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A