#8B1848#8B1848
#8B1848 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.153 H 1.8°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #8B1848 |
|---|---|
| RGB | rgb(139, 24, 72) |
| HSL | hsl(335, 71%, 32%) |
| HSV | hsv(335, 83%, 55%) |
| CMYK | cmyk(0%, 82.7%, 48.2%, 45.5%) |
| CIE-LAB | lab(30.91, 49.66, 1.65) |
| CIE-LCH | lch(30.91, 49.68, 1.91°) |
| OKLab | oklab(42.43% 0.1525 0.0048) |
| OKLCH | oklch(42.43% 0.153 1.8) |
| XYZ | xyz(12.1448, 6.6118, 6.7663) |
| Luminance | 0.0661 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 2.18
Berry
#990F4B
ΔE00 2.64
Purple Red
#990147
ΔE00 2.90
Reddish Purple
#910951
ΔE00 2.98
Red Purple
#820747
ΔE00 3.24
Wine (survey)
#80013F
ΔE00 3.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B1848 #188B5B
analogous
#8B1881 #8B1848 #8B2218
triadic
#8B1848 #488B18 #18488B
tetradic
#8B1848 #818B18 #188B5B #22188B
square
#8B1848 #818B18 #188B5B #22188B
split-complementary
#8B1848 #188B22 #18818B
monochromatic
#230612 #570F2D #8B1848 #BF2163 #DE3F82
Accessibility & contrast
On white
9.04
#8B1848 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#8B1848 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B1848
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B1848 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B1848 | 1.00 | 9.04 | 2.32 | 9.04 |
| #FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353B49
Deuteranopia (green-blind)
#545145
Tritanopia (blue-blind)
#98002E
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8b1848; /* rgb */ color: rgb(139, 24, 72); /* oklch */ color: oklch(42.4% 0.153 1.8);
Tailwind
colors: {
custom: {
50: '#b2637a',
500: '#8b1848',
950: '#000000',
},
}SCSS
$custom: #8b1848; $custom-light: #b2637a; $custom-dark: #000000;
JSON
{
"hex": "#8b1848",
"rgb": {
"r": 139,
"g": 24,
"b": 72
},
"hsl": {
"h": 334.957,
"s": 70.552,
"l": 31.961
},
"oklch": {
"l": 0.42434,
"c": 0.15257,
"h": 1.8
},
"luminance": 0.0661
}Semantic roles & 50–950 ramp
primary
#8B1848
secondary
#40BE8A
accent
#EDA33A
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B