#8A1C42#8A1C42
#8A1C42 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.146 H 5.8°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1C42 |
|---|---|
| RGB | rgb(138, 28, 66) |
| HSL | hsl(339, 66%, 33%) |
| HSV | hsv(339, 80%, 54%) |
| CMYK | cmyk(0%, 79.7%, 52.2%, 45.9%) |
| CIE-LAB | lab(30.95, 47.64, 5.66) |
| CIE-LCH | lch(30.95, 47.98, 6.77°) |
| OKLab | oklab(42.37% 0.1456 0.0148) |
| OKLCH | oklch(42.37% 0.146 5.8) |
| XYZ | xyz(11.8809, 6.6288, 5.8071) |
| Luminance | 0.0663 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 3.19
Berry
#990F4B
ΔE00 3.31
Red Wine
#8C0034
ΔE00 3.90
Wine (survey)
#80013F
ΔE00 4.15
Mulberry
#920A4E
ΔE00 4.22
Red Purple
#820747
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1C42 #1C8A64
analogous
#8A1C79 #8A1C42 #8A2D1C
triadic
#8A1C42 #428A1C #1C428A
tetradic
#8A1C42 #798A1C #1C8A64 #2D1C8A
square
#8A1C42 #798A1C #1C8A64 #2D1C8A
split-complementary
#8A1C42 #1C8A2D #1C798A
monochromatic
#240711 #57122A #8A1C42 #BD265A #DA477A
Accessibility & contrast
On white
9.03
#8A1C42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#8A1C42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1C42
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1C42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1C42 | 1.00 | 9.03 | 2.33 | 9.03 |
| #FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383B43
Deuteranopia (green-blind)
#55513F
Tritanopia (blue-blind)
#97002D
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8a1c42; /* rgb */ color: rgb(138, 28, 66); /* oklch */ color: oklch(42.4% 0.146 5.8);
Tailwind
colors: {
custom: {
50: '#b26476',
500: '#8a1c42',
950: '#000000',
},
}SCSS
$custom: #8a1c42; $custom-light: #b26476; $custom-dark: #000000;
JSON
{
"hex": "#8a1c42",
"rgb": {
"r": 138,
"g": 28,
"b": 66
},
"hsl": {
"h": 339.273,
"s": 66.265,
"l": 32.549
},
"oklch": {
"l": 0.4237,
"c": 0.14634,
"h": 5.8
},
"luminance": 0.06627
}Semantic roles & 50–950 ramp
primary
#8A1C42
secondary
#46BB93
accent
#E9AE3F
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B