#8A1C4B#8A1C4B
#8A1C4B is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.7% C 0.149 H 0.3°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1C4B |
|---|---|
| RGB | rgb(138, 28, 75) |
| HSL | hsl(334, 66%, 33%) |
| HSV | hsv(334, 80%, 54%) |
| CMYK | cmyk(0%, 79.7%, 45.7%, 45.9%) |
| CIE-LAB | lab(31.22, 48.48, 0.10) |
| CIE-LCH | lch(31.22, 48.48, 0.12°) |
| OKLab | oklab(42.66% 0.1489 0.0008) |
| OKLCH | oklch(42.66% 0.149 0.3) |
| XYZ | xyz(12.1675, 6.7434, 7.3161) |
| Luminance | 0.0674 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 2.06
Reddish Purple
#910951
ΔE00 2.61
Berry
#990F4B
ΔE00 3.07
Red Purple
#820747
ΔE00 3.08
Purple Red
#990147
ΔE00 3.55
Wine (survey)
#80013F
ΔE00 3.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1C4B #1C8A5B
analogous
#8A1C82 #8A1C4B #8A241C
triadic
#8A1C4B #4B8A1C #1C4B8A
tetradic
#8A1C4B #828A1C #1C8A5B #241C8A
square
#8A1C4B #828A1C #1C8A5B #241C8A
split-complementary
#8A1C4B #1C8A24 #1C828A
monochromatic
#240714 #57122F #8A1C4B #BD2667 #DA4786
Accessibility & contrast
On white
8.94
#8A1C4B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#8A1C4B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1C4B
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1C4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1C4B | 1.00 | 8.94 | 2.35 | 8.94 |
| #FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363C4C
Deuteranopia (green-blind)
#535148
Tritanopia (blue-blind)
#960431
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8a1c4b; /* rgb */ color: rgb(138, 28, 75); /* oklch */ color: oklch(42.7% 0.149 0.3);
Tailwind
colors: {
custom: {
50: '#b1647d',
500: '#8a1c4b',
950: '#000000',
},
}SCSS
$custom: #8a1c4b; $custom-light: #b1647d; $custom-dark: #000000;
JSON
{
"hex": "#8a1c4b",
"rgb": {
"r": 138,
"g": 28,
"b": 75
},
"hsl": {
"h": 334.364,
"s": 66.265,
"l": 32.549
},
"oklch": {
"l": 0.42655,
"c": 0.14893,
"h": 0.3
},
"luminance": 0.06742
}Semantic roles & 50–950 ramp
primary
#8A1C4B
secondary
#46BB89
accent
#E9A03F
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B