#8A1B43#8A1B43
#8A1B43 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.148 H 5.0°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1B43 |
|---|---|
| RGB | rgb(138, 27, 67) |
| HSL | hsl(338, 67%, 32%) |
| HSV | hsv(338, 80%, 54%) |
| CMYK | cmyk(0%, 80.4%, 51.4%, 45.9%) |
| CIE-LAB | lab(30.86, 48.04, 4.88) |
| CIE-LCH | lch(30.86, 48.29, 5.80°) |
| OKLab | oklab(42.32% 0.147 0.0129) |
| OKLCH | oklch(42.32% 0.148 5) |
| XYZ | xyz(11.8873, 6.5940, 5.9559) |
| Luminance | 0.0659 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 3.02
Berry
#990F4B
ΔE00 3.09
Mulberry
#920A4E
ΔE00 3.80
Wine (survey)
#80013F
ΔE00 3.84
Red Wine
#8C0034
ΔE00 4.19
Red Purple
#820747
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1B43 #1B8A62
analogous
#8A1B7B #8A1B43 #8A2A1B
triadic
#8A1B43 #438A1B #1B438A
tetradic
#8A1B43 #7B8A1B #1B8A62 #2A1B8A
square
#8A1B43 #7B8A1B #1B8A62 #2A1B8A
split-complementary
#8A1B43 #1B8A2A #1B7B8A
monochromatic
#240711 #57112A #8A1B43 #BD255C #DB457B
Accessibility & contrast
On white
9.06
#8A1B43 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#8A1B43 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1B43
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1B43 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1B43 | 1.00 | 9.06 | 2.32 | 9.06 |
| #FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373B44
Deuteranopia (green-blind)
#555040
Tritanopia (blue-blind)
#97002D
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8a1b43; /* rgb */ color: rgb(138, 27, 67); /* oklch */ color: oklch(42.3% 0.148 5.0);
Tailwind
colors: {
custom: {
50: '#b26476',
500: '#8a1b43',
950: '#000000',
},
}SCSS
$custom: #8a1b43; $custom-light: #b26476; $custom-dark: #000000;
JSON
{
"hex": "#8a1b43",
"rgb": {
"r": 138,
"g": 27,
"b": 67
},
"hsl": {
"h": 338.378,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.42319,
"c": 0.14754,
"h": 5
},
"luminance": 0.06592
}Semantic roles & 50–950 ramp
primary
#8A1B43
secondary
#45BC91
accent
#EAAC3E
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B