#8A1B44#8A1B44
#8A1B44 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.148 H 4.4°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1B44 |
|---|---|
| RGB | rgb(138, 27, 68) |
| HSL | hsl(338, 67%, 32%) |
| HSV | hsv(338, 80%, 54%) |
| CMYK | cmyk(0%, 80.4%, 50.7%, 45.9%) |
| CIE-LAB | lab(30.89, 48.13, 4.26) |
| CIE-LCH | lch(30.89, 48.32, 5.06°) |
| OKLab | oklab(42.35% 0.1474 0.0113) |
| OKLCH | oklch(42.35% 0.148 4.4) |
| XYZ | xyz(11.9176, 6.6062, 6.1153) |
| Luminance | 0.0660 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.96
Purple Red
#990147
ΔE00 2.97
Mulberry
#920A4E
ΔE00 3.51
Wine (survey)
#80013F
ΔE00 3.70
Red Purple
#820747
ΔE00 4.33
Reddish Purple
#910951
ΔE00 4.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1B44 #1B8A61
analogous
#8A1B7C #8A1B44 #8A2A1B
triadic
#8A1B44 #448A1B #1B448A
tetradic
#8A1B44 #7C8A1B #1B8A61 #2A1B8A
square
#8A1B44 #7C8A1B #1B8A61 #2A1B8A
split-complementary
#8A1B44 #1B8A2A #1B7C8A
monochromatic
#240712 #57112B #8A1B44 #BD255D #DB457C
Accessibility & contrast
On white
9.05
#8A1B44 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#8A1B44 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1B44
9.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1B44 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1B44 | 1.00 | 9.05 | 2.32 | 9.05 |
| #FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373B45
Deuteranopia (green-blind)
#545141
Tritanopia (blue-blind)
#97002D
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8a1b44; /* rgb */ color: rgb(138, 27, 68); /* oklch */ color: oklch(42.3% 0.148 4.4);
Tailwind
colors: {
custom: {
50: '#b26477',
500: '#8a1b44',
950: '#000000',
},
}SCSS
$custom: #8a1b44; $custom-light: #b26477; $custom-dark: #000000;
JSON
{
"hex": "#8a1b44",
"rgb": {
"r": 138,
"g": 27,
"b": 68
},
"hsl": {
"h": 337.838,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.42349,
"c": 0.14779,
"h": 4.4
},
"luminance": 0.06604
}Semantic roles & 50–950 ramp
primary
#8A1B44
secondary
#45BC90
accent
#EAAA3E
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B