#8B2147#8B2147
#8B2147 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.1% C 0.143 H 4.0°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).
Color values
| HEX | #8B2147 |
|---|---|
| RGB | rgb(139, 33, 71) |
| HSL | hsl(338, 62%, 34%) |
| HSV | hsv(338, 76%, 55%) |
| CMYK | cmyk(0%, 76.3%, 48.9%, 45.5%) |
| CIE-LAB | lab(31.88, 46.72, 3.72) |
| CIE-LCH | lch(31.88, 46.87, 4.55°) |
| OKLab | oklab(43.14% 0.143 0.01) |
| OKLCH | oklch(43.14% 0.143 4) |
| XYZ | xyz(12.3297, 7.0333, 6.6683) |
| Luminance | 0.0703 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.92
Purple Red
#990147
ΔE00 3.22
Mulberry
#920A4E
ΔE00 3.59
Wine (survey)
#80013F
ΔE00 4.41
Reddish Purple
#910951
ΔE00 4.43
Red Purple
#820747
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B2147 #218B65
analogous
#8B217C #8B2147 #8B3021
triadic
#8B2147 #478B21 #21478B
tetradic
#8B2147 #7C8B21 #218B65 #30218B
square
#8B2147 #7C8B21 #218B65 #30218B
split-complementary
#8B2147 #218B30 #217C8B
monochromatic
#280A14 #5A152E #8B2147 #BC2D60 #D65180
Accessibility & contrast
On white
8.73
#8B2147 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#8B2147 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B2147
8.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B2147 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B2147 | 1.00 | 8.73 | 2.41 | 8.73 |
| #FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A3E48
Deuteranopia (green-blind)
#565344
Tritanopia (blue-blind)
#970B31
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8b2147; /* rgb */ color: rgb(139, 33, 71); /* oklch */ color: oklch(43.1% 0.143 4.0);
Tailwind
colors: {
custom: {
50: '#b2667a',
500: '#8b2147',
950: '#000000',
},
}SCSS
$custom: #8b2147; $custom-light: #b2667a; $custom-dark: #000000;
JSON
{
"hex": "#8b2147",
"rgb": {
"r": 139,
"g": 33,
"b": 71
},
"hsl": {
"h": 338.491,
"s": 61.628,
"l": 33.725
},
"oklch": {
"l": 0.43142,
"c": 0.14333,
"h": 4
},
"luminance": 0.07032
}Semantic roles & 50–950 ramp
primary
#8B2147
secondary
#4FB993
accent
#E5AB43
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B