#8D1F52#8D1F52
#8D1F52 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.7% C 0.151 H 357.5°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).
Color values
| HEX | #8D1F52 |
|---|---|
| RGB | rgb(141, 31, 82) |
| HSL | hsl(332, 64%, 34%) |
| HSV | hsv(332, 78%, 55%) |
| CMYK | cmyk(0%, 78%, 41.8%, 44.7%) |
| CIE-LAB | lab(32.38, 49.08, -2.72) |
| CIE-LCH | lch(32.38, 49.16, 356.83°) |
| OKLab | oklab(43.69% 0.1508 -0.0065) |
| OKLCH | oklch(43.69% 0.151 357.5) |
| XYZ | xyz(12.9984, 7.2536, 8.6966) |
| Luminance | 0.0725 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 1.99
Mulberry
#920A4E
ΔE00 2.04
Dark Magenta
#960056
ΔE00 2.86
Dark Fuchsia
#9D0759
ΔE00 3.25
Berry
#990F4B
ΔE00 3.61
Red Purple
#820747
ΔE00 3.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D1F52 #1F8D5A
analogous
#8D1F89 #8D1F52 #8D231F
triadic
#8D1F52 #528D1F #1F528D
tetradic
#8D1F52 #898D1F #1F8D5A #231F8D
square
#8D1F52 #898D1F #1F8D5A #231F8D
split-complementary
#8D1F52 #1F8D23 #1F898D
monochromatic
#290918 #5B1435 #8D1F52 #BF2A6F #D84E8E
Accessibility & contrast
On white
8.57
#8D1F52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#8D1F52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8D1F52
8.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D1F52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D1F52 | 1.00 | 8.57 | 2.45 | 8.57 |
| #FFFFFF | 8.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373F53
Deuteranopia (green-blind)
#55544F
Tritanopia (blue-blind)
#990E36
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #8d1f52; /* rgb */ color: rgb(141, 31, 82); /* oklch */ color: oklch(43.7% 0.151 357.5);
Tailwind
colors: {
custom: {
50: '#b36682',
500: '#8d1f52',
950: '#000000',
},
}SCSS
$custom: #8d1f52; $custom-light: #b36682; $custom-dark: #000000;
JSON
{
"hex": "#8d1f52",
"rgb": {
"r": 141,
"g": 31,
"b": 82
},
"hsl": {
"h": 332.182,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.4369,
"c": 0.15097,
"h": 357.5
},
"luminance": 0.07252
}Semantic roles & 50–950 ramp
primary
#8D1F52
secondary
#4DBB88
accent
#E79A41
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C