#8A1538#8A1538
#8A1538 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.6% C 0.151 H 10.5°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1538 |
|---|---|
| RGB | rgb(138, 21, 56) |
| HSL | hsl(342, 74%, 31%) |
| HSV | hsv(342, 85%, 54%) |
| CMYK | cmyk(0%, 84.8%, 59.4%, 45.9%) |
| CIE-LAB | lab(29.98, 48.86, 10.96) |
| CIE-LCH | lch(29.98, 50.08, 12.64°) |
| OKLab | oklab(41.57% 0.1481 0.0274) |
| OKLCH | oklch(41.57% 0.151 10.5) |
| XYZ | xyz(11.4644, 6.2268, 4.3389) |
| Luminance | 0.0622 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 1.53
Cranberry
#9E003A
ΔE00 3.76
Bordeaux
#7B002C
ΔE00 3.82
Purple Red
#990147
ΔE00 4.76
Berry
#990F4B
ΔE00 5.33
Wine Red
#7B0323
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1538 #158A67
analogous
#8A1572 #8A1538 #8A2C15
triadic
#8A1538 #388A15 #15388A
tetradic
#8A1538 #728A15 #158A67 #2C158A
square
#8A1538 #728A15 #158A67 #2C158A
split-complementary
#8A1538 #158A2C #15728A
monochromatic
#20050D #550D22 #8A1538 #BF1D4E #E1396B
Accessibility & contrast
On white
9.35
#8A1538 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#8A1538 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1538
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1538 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1538 | 1.00 | 9.35 | 2.25 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373839
Deuteranopia (green-blind)
#554F35
Tritanopia (blue-blind)
#970025
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #8a1538; /* rgb */ color: rgb(138, 21, 56); /* oklch */ color: oklch(41.6% 0.151 10.5);
Tailwind
colors: {
custom: {
50: '#b3616e',
500: '#8a1538',
950: '#000000',
},
}SCSS
$custom: #8a1538; $custom-light: #b3616e; $custom-dark: #000000;
JSON
{
"hex": "#8a1538",
"rgb": {
"r": 138,
"g": 21,
"b": 56
},
"hsl": {
"h": 342.051,
"s": 73.585,
"l": 31.176
},
"oklch": {
"l": 0.41572,
"c": 0.15061,
"h": 10.5
},
"luminance": 0.06225
}Semantic roles & 50–950 ramp
primary
#8A1538
secondary
#3DBE97
accent
#F0B938
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A