#8A1D4B#8A1D4B
#8A1D4B is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.7% C 0.148 H 0.5°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1D4B |
|---|---|
| RGB | rgb(138, 29, 75) |
| HSL | hsl(335, 65%, 33%) |
| HSV | hsv(335, 79%, 54%) |
| CMYK | cmyk(0%, 79%, 45.7%, 45.9%) |
| CIE-LAB | lab(31.33, 48.16, 0.26) |
| CIE-LCH | lch(31.33, 48.16, 0.31°) |
| OKLab | oklab(42.74% 0.1479 0.0012) |
| OKLCH | oklch(42.74% 0.148 0.5) |
| XYZ | xyz(12.1916, 6.7916, 7.3242) |
| Luminance | 0.0679 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 2.17
Reddish Purple
#910951
ΔE00 2.74
Berry
#990F4B
ΔE00 3.05
Red Purple
#820747
ΔE00 3.21
Purple Red
#990147
ΔE00 3.55
Wine (survey)
#80013F
ΔE00 3.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1D4B #1D8A5C
analogous
#8A1D81 #8A1D4B #8A261D
triadic
#8A1D4B #4B8A1D #1D4B8A
tetradic
#8A1D4B #818A1D #1D8A5C #261D8A
square
#8A1D4B #818A1D #1D8A5C #261D8A
split-complementary
#8A1D4B #1D8A26 #1D818A
monochromatic
#250814 #571230 #8A1D4B #BD2866 #D94985
Accessibility & contrast
On white
8.91
#8A1D4B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#8A1D4B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1D4B
8.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1D4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1D4B | 1.00 | 8.91 | 2.36 | 8.91 |
| #FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363C4C
Deuteranopia (green-blind)
#545148
Tritanopia (blue-blind)
#960631
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8a1d4b; /* rgb */ color: rgb(138, 29, 75); /* oklch */ color: oklch(42.7% 0.148 0.5);
Tailwind
colors: {
custom: {
50: '#b1657d',
500: '#8a1d4b',
950: '#000000',
},
}SCSS
$custom: #8a1d4b; $custom-light: #b1657d; $custom-dark: #000000;
JSON
{
"hex": "#8a1d4b",
"rgb": {
"r": 138,
"g": 29,
"b": 75
},
"hsl": {
"h": 334.679,
"s": 65.269,
"l": 32.745
},
"oklch": {
"l": 0.42738,
"c": 0.14791,
"h": 0.5
},
"luminance": 0.0679
}Semantic roles & 50–950 ramp
primary
#8A1D4B
secondary
#48BB8A
accent
#E8A140
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B