#8B1F4E#8B1F4E
#8B1F4E is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.2% C 0.148 H 359.3°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #8B1F4E |
|---|---|
| RGB | rgb(139, 31, 78) |
| HSL | hsl(334, 64%, 33%) |
| HSV | hsv(334, 78%, 55%) |
| CMYK | cmyk(0%, 77.7%, 43.9%, 45.5%) |
| CIE-LAB | lab(31.85, 48.09, -0.92) |
| CIE-LCH | lch(31.85, 48.10, 358.91°) |
| OKLab | oklab(43.19% 0.1477 -0.0018) |
| OKLCH | oklch(43.19% 0.148 359.3) |
| XYZ | xyz(12.5135, 7.0206, 7.9024) |
| Luminance | 0.0702 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 2.09
Reddish Purple
#910951
ΔE00 2.44
Berry
#990F4B
ΔE00 3.24
Red Purple
#820747
ΔE00 3.39
Dark Magenta
#960056
ΔE00 3.56
Purple Red
#990147
ΔE00 3.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B1F4E #1F8B5C
analogous
#8B1F84 #8B1F4E #8B261F
triadic
#8B1F4E #4E8B1F #1F4E8B
tetradic
#8B1F4E #848B1F #1F8B5C #261F8B
square
#8B1F4E #848B1F #1F8B5C #261F8B
split-complementary
#8B1F4E #1F8B26 #1F848B
monochromatic
#270916 #591432 #8B1F4E #BD2A6A #D74D89
Accessibility & contrast
On white
8.74
#8B1F4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#8B1F4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B1F4E
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B1F4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B1F4E | 1.00 | 8.74 | 2.40 | 8.74 |
| #FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373E4F
Deuteranopia (green-blind)
#54524C
Tritanopia (blue-blind)
#970C34
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8b1f4e; /* rgb */ color: rgb(139, 31, 78); /* oklch */ color: oklch(43.2% 0.148 359.3);
Tailwind
colors: {
custom: {
50: '#b2667f',
500: '#8b1f4e',
950: '#000000',
},
}SCSS
$custom: #8b1f4e; $custom-light: #b2667f; $custom-dark: #000000;
JSON
{
"hex": "#8b1f4e",
"rgb": {
"r": 139,
"g": 31,
"b": 78
},
"hsl": {
"h": 333.889,
"s": 63.529,
"l": 33.333
},
"oklch": {
"l": 0.43191,
"c": 0.14773,
"h": 359.3
},
"luminance": 0.07019
}Semantic roles & 50–950 ramp
primary
#8B1F4E
secondary
#4CBA8A
accent
#E79F41
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C