#8A1542#8A1542
#8A1542 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.9% C 0.153 H 4.6°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1542 |
|---|---|
| RGB | rgb(138, 21, 66) |
| HSL | hsl(337, 74%, 31%) |
| HSV | hsv(337, 85%, 54%) |
| CMYK | cmyk(0%, 84.8%, 52.2%, 45.9%) |
| CIE-LAB | lab(30.24, 49.65, 4.66) |
| CIE-LCH | lch(30.24, 49.87, 5.36°) |
| OKLab | oklab(41.85% 0.1521 0.0123) |
| OKLCH | oklch(41.85% 0.153 4.6) |
| XYZ | xyz(11.7338, 6.3346, 5.7580) |
| Luminance | 0.0633 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.82
Berry
#990F4B
ΔE00 3.04
Wine (survey)
#80013F
ΔE00 3.27
Mulberry
#920A4E
ΔE00 3.52
Red Wine
#8C0034
ΔE00 4.06
Red Purple
#820747
ΔE00 4.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1542 #158A5D
analogous
#8A157C #8A1542 #8A2215
triadic
#8A1542 #428A15 #15428A
tetradic
#8A1542 #7C8A15 #158A5D #22158A
square
#8A1542 #7C8A15 #158A5D #22158A
split-complementary
#8A1542 #158A22 #157C8A
monochromatic
#20050F #550D29 #8A1542 #BF1D5B #E13979
Accessibility & contrast
On white
9.26
#8A1542 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#8A1542 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1542
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1542 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1542 | 1.00 | 9.26 | 2.27 | 9.26 |
| #FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353943
Deuteranopia (green-blind)
#534F3F
Tritanopia (blue-blind)
#97002A
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #8a1542; /* rgb */ color: rgb(138, 21, 66); /* oklch */ color: oklch(41.9% 0.153 4.6);
Tailwind
colors: {
custom: {
50: '#b26276',
500: '#8a1542',
950: '#000000',
},
}SCSS
$custom: #8a1542; $custom-light: #b26276; $custom-dark: #000000;
JSON
{
"hex": "#8a1542",
"rgb": {
"r": 138,
"g": 21,
"b": 66
},
"hsl": {
"h": 336.923,
"s": 73.585,
"l": 31.176
},
"oklch": {
"l": 0.41852,
"c": 0.15256,
"h": 4.6
},
"luminance": 0.06333
}Semantic roles & 50–950 ramp
primary
#8A1542
secondary
#3DBE8C
accent
#F0A938
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B