#8A1B38#8A1B38
#8A1B38 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.0% C 0.146 H 11.6°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1B38 |
|---|---|
| RGB | rgb(138, 27, 56) |
| HSL | hsl(344, 67%, 32%) |
| HSV | hsv(344, 80%, 54%) |
| CMYK | cmyk(0%, 80.4%, 59.4%, 45.9%) |
| CIE-LAB | lab(30.58, 47.16, 11.78) |
| CIE-LCH | lch(30.58, 48.61, 14.03°) |
| OKLab | oklab(42.02% 0.1426 0.0294) |
| OKLCH | oklch(42.02% 0.146 11.6) |
| XYZ | xyz(11.5881, 6.4744, 4.3801) |
| Luminance | 0.0647 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 2.20
Cranberry
#9E003A
ΔE00 3.77
Bordeaux
#7B002C
ΔE00 4.27
Purple Red
#990147
ΔE00 5.35
Wine Red
#7B0323
ΔE00 5.44
Berry
#990F4B
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1B38 #1B8A6D
analogous
#8A1B70 #8A1B38 #8A351B
triadic
#8A1B38 #388A1B #1B388A
tetradic
#8A1B38 #708A1B #1B8A6D #351B8A
square
#8A1B38 #708A1B #1B8A6D #351B8A
split-complementary
#8A1B38 #1B8A35 #1B708A
monochromatic
#24070E #571123 #8A1B38 #BD254D #DB456C
Accessibility & contrast
On white
9.15
#8A1B38 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#8A1B38 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1B38
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1B38 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1B38 | 1.00 | 9.15 | 2.29 | 9.15 |
| #FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A3A38
Deuteranopia (green-blind)
#565035
Tritanopia (blue-blind)
#970028
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8a1b38; /* rgb */ color: rgb(138, 27, 56); /* oklch */ color: oklch(42.0% 0.146 11.6);
Tailwind
colors: {
custom: {
50: '#b2636e',
500: '#8a1b38',
950: '#000000',
},
}SCSS
$custom: #8a1b38; $custom-light: #b2636e; $custom-dark: #000000;
JSON
{
"hex": "#8a1b38",
"rgb": {
"r": 138,
"g": 27,
"b": 56
},
"hsl": {
"h": 344.324,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.42016,
"c": 0.14557,
"h": 11.6
},
"luminance": 0.06473
}Semantic roles & 50–950 ramp
primary
#8A1B38
secondary
#45BC9D
accent
#EABD3E
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A