#8B1F52#8B1F52
#8B1F52 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.3% C 0.149 H 356.9°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).
Color values
| HEX | #8B1F52 |
|---|---|
| RGB | rgb(139, 31, 82) |
| HSL | hsl(332, 64%, 33%) |
| HSV | hsv(332, 78%, 55%) |
| CMYK | cmyk(0%, 77.7%, 41%, 45.5%) |
| CIE-LAB | lab(31.99, 48.51, -3.34) |
| CIE-LCH | lch(31.99, 48.63, 356.06°) |
| OKLab | oklab(43.33% 0.1491 -0.0082) |
| OKLCH | oklch(43.33% 0.149 356.9) |
| XYZ | xyz(12.6613, 7.0797, 8.6808) |
| Luminance | 0.0708 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 2.05
Mulberry
#920A4E
ΔE00 2.26
Dark Magenta
#960056
ΔE00 2.92
Red Purple
#820747
ΔE00 3.40
Dark Fuchsia
#9D0759
ΔE00 3.51
Berry
#990F4B
ΔE00 4.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B1F52 #1F8B58
analogous
#8B1F88 #8B1F52 #8B221F
triadic
#8B1F52 #528B1F #1F528B
tetradic
#8B1F52 #888B1F #1F8B58 #221F8B
square
#8B1F52 #888B1F #1F8B58 #221F8B
split-complementary
#8B1F52 #1F8B22 #1F888B
monochromatic
#270917 #591434 #8B1F52 #BD2A70 #D74D8E
Accessibility & contrast
On white
8.69
#8B1F52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#8B1F52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B1F52
8.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B1F52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B1F52 | 1.00 | 8.69 | 2.42 | 8.69 |
| #FFFFFF | 8.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363E53
Deuteranopia (green-blind)
#535350
Tritanopia (blue-blind)
#970F36
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8b1f52; /* rgb */ color: rgb(139, 31, 82); /* oklch */ color: oklch(43.3% 0.149 356.9);
Tailwind
colors: {
custom: {
50: '#b26682',
500: '#8b1f52',
950: '#000000',
},
}SCSS
$custom: #8b1f52; $custom-light: #b26682; $custom-dark: #000000;
JSON
{
"hex": "#8b1f52",
"rgb": {
"r": 139,
"g": 31,
"b": 82
},
"hsl": {
"h": 331.667,
"s": 63.529,
"l": 33.333
},
"oklch": {
"l": 0.43334,
"c": 0.14928,
"h": 356.9
},
"luminance": 0.07078
}Semantic roles & 50–950 ramp
primary
#8B1F52
secondary
#4CBA86
accent
#E79841
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C