#8A1D4C#8A1D4C
#8A1D4C is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.148 H 359.9°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1D4C |
|---|---|
| RGB | rgb(138, 29, 76) |
| HSL | hsl(334, 65%, 33%) |
| HSV | hsv(334, 79%, 54%) |
| CMYK | cmyk(0%, 79%, 44.9%, 45.9%) |
| CIE-LAB | lab(31.36, 48.26, -0.35) |
| CIE-LCH | lch(31.36, 48.26, 359.58°) |
| OKLab | oklab(42.77% 0.1483 -0.0004) |
| OKLCH | oklch(42.77% 0.148 359.9) |
| XYZ | xyz(12.2261, 6.8054, 7.5058) |
| Luminance | 0.0680 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 2.06
Reddish Purple
#910951
ΔE00 2.52
Red Purple
#820747
ΔE00 3.11
Berry
#990F4B
ΔE00 3.18
Purple Red
#990147
ΔE00 3.72
Dark Magenta
#960056
ΔE00 3.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1D4C #1D8A5B
analogous
#8A1D83 #8A1D4C #8A241D
triadic
#8A1D4C #4C8A1D #1D4C8A
tetradic
#8A1D4C #838A1D #1D8A5B #241D8A
square
#8A1D4C #838A1D #1D8A5B #241D8A
split-complementary
#8A1D4C #1D8A24 #1D838A
monochromatic
#250814 #571230 #8A1D4C #BD2868 #D94987
Accessibility & contrast
On white
8.90
#8A1D4C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#8A1D4C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1D4C
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1D4C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1D4C | 1.00 | 8.90 | 2.36 | 8.90 |
| #FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363D4D
Deuteranopia (green-blind)
#535149
Tritanopia (blue-blind)
#960732
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8a1d4c; /* rgb */ color: rgb(138, 29, 76); /* oklch */ color: oklch(42.8% 0.148 359.9);
Tailwind
colors: {
custom: {
50: '#b1657d',
500: '#8a1d4c',
950: '#000000',
},
}SCSS
$custom: #8a1d4c; $custom-light: #b1657d; $custom-dark: #000000;
JSON
{
"hex": "#8a1d4c",
"rgb": {
"r": 138,
"g": 29,
"b": 76
},
"hsl": {
"h": 334.128,
"s": 65.269,
"l": 32.745
},
"oklch": {
"l": 0.42772,
"c": 0.14826,
"h": 359.9
},
"luminance": 0.06804
}Semantic roles & 50–950 ramp
primary
#8A1D4C
secondary
#48BB89
accent
#E8A040
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110609
muted
#807A7B