#8A1B37#8A1B37
#8A1B37 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.0% C 0.145 H 12.2°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1B37 |
|---|---|
| RGB | rgb(138, 27, 55) |
| HSL | hsl(345, 67%, 32%) |
| HSV | hsv(345, 80%, 54%) |
| CMYK | cmyk(0%, 80.4%, 60.1%, 45.9%) |
| CIE-LAB | lab(30.56, 47.08, 12.41) |
| CIE-LCH | lch(30.56, 48.69, 14.77°) |
| OKLab | oklab(41.99% 0.1422 0.0308) |
| OKLCH | oklch(41.99% 0.145 12.2) |
| XYZ | xyz(11.5639, 6.4647, 4.2526) |
| Luminance | 0.0646 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 2.27
Cranberry
#9E003A
ΔE00 3.77
Bordeaux
#7B002C
ΔE00 4.28
Wine Red
#7B0323
ΔE00 5.21
Purple Red
#990147
ΔE00 5.66
Burgundy
#800020
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1B37 #1B8A6E
analogous
#8A1B6F #8A1B37 #8A371B
triadic
#8A1B37 #378A1B #1B378A
tetradic
#8A1B37 #6F8A1B #1B8A6E #371B8A
square
#8A1B37 #6F8A1B #1B8A6E #371B8A
split-complementary
#8A1B37 #1B8A37 #1B6F8A
monochromatic
#24070E #571123 #8A1B37 #BD254B #DB456B
Accessibility & contrast
On white
9.16
#8A1B37 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#8A1B37 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1B37
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1B37 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1B37 | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A3937
Deuteranopia (green-blind)
#565034
Tritanopia (blue-blind)
#970027
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8a1b37; /* rgb */ color: rgb(138, 27, 55); /* oklch */ color: oklch(42.0% 0.145 12.2);
Tailwind
colors: {
custom: {
50: '#b2636d',
500: '#8a1b37',
950: '#000000',
},
}SCSS
$custom: #8a1b37; $custom-light: #b2636d; $custom-dark: #000000;
JSON
{
"hex": "#8a1b37",
"rgb": {
"r": 138,
"g": 27,
"b": 55
},
"hsl": {
"h": 344.865,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.41991,
"c": 0.14547,
"h": 12.2
},
"luminance": 0.06463
}Semantic roles & 50–950 ramp
primary
#8A1B37
secondary
#45BC9E
accent
#EABF3E
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A