#8A1438#8A1438
#8A1438 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.5% C 0.151 H 10.3°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1438 |
|---|---|
| RGB | rgb(138, 20, 56) |
| HSL | hsl(342, 75%, 31%) |
| HSV | hsv(342, 86%, 54%) |
| CMYK | cmyk(0%, 85.5%, 59.4%, 45.9%) |
| CIE-LAB | lab(29.89, 49.12, 10.84) |
| CIE-LCH | lch(29.89, 50.30, 12.44°) |
| OKLab | oklab(41.51% 0.1489 0.0271) |
| OKLCH | oklch(41.51% 0.151 10.3) |
| XYZ | xyz(11.4464, 6.1908, 4.3328) |
| Luminance | 0.0619 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 1.46
Bordeaux
#7B002C
ΔE00 3.77
Cranberry
#9E003A
ΔE00 3.78
Purple Red
#990147
ΔE00 4.68
Berry
#990F4B
ΔE00 5.27
Wine Red
#7B0323
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1438 #148A66
analogous
#8A1473 #8A1438 #8A2B14
triadic
#8A1438 #388A14 #14388A
tetradic
#8A1438 #738A14 #148A66 #2B148A
square
#8A1438 #738A14 #148A66 #2B148A
split-complementary
#8A1438 #148A2B #14738A
monochromatic
#1F050D #550C22 #8A1438 #BF1C4E #E2366B
Accessibility & contrast
On white
9.38
#8A1438 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#8A1438 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1438
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1438 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1438 | 1.00 | 9.38 | 2.24 | 9.38 |
| #FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373739
Deuteranopia (green-blind)
#554F35
Tritanopia (blue-blind)
#970024
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #8a1438; /* rgb */ color: rgb(138, 20, 56); /* oklch */ color: oklch(41.5% 0.151 10.3);
Tailwind
colors: {
custom: {
50: '#b3616e',
500: '#8a1438',
950: '#000000',
},
}SCSS
$custom: #8a1438; $custom-light: #b3616e; $custom-dark: #000000;
JSON
{
"hex": "#8a1438",
"rgb": {
"r": 138,
"g": 20,
"b": 56
},
"hsl": {
"h": 341.695,
"s": 74.684,
"l": 30.98
},
"oklch": {
"l": 0.41507,
"c": 0.15137,
"h": 10.3
},
"luminance": 0.06189
}Semantic roles & 50–950 ramp
primary
#8A1438
secondary
#3CBE96
accent
#F1B836
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A