#8B1548#8B1548
#8B1548 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.2% C 0.155 H 1.4°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #8B1548 |
|---|---|
| RGB | rgb(139, 21, 72) |
| HSL | hsl(334, 74%, 31%) |
| HSV | hsv(334, 85%, 55%) |
| CMYK | cmyk(0%, 84.9%, 48.2%, 45.5%) |
| CIE-LAB | lab(30.63, 50.45, 1.25) |
| CIE-LCH | lch(30.63, 50.47, 1.42°) |
| OKLab | oklab(42.23% 0.1551 0.0038) |
| OKLCH | oklch(42.23% 0.155 1.4) |
| XYZ | xyz(12.0864, 6.4949, 6.7468) |
| Luminance | 0.0649 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 1.94
Reddish Purple
#910951
ΔE00 2.71
Berry
#990F4B
ΔE00 2.71
Red Purple
#820747
ΔE00 2.92
Purple Red
#990147
ΔE00 2.93
Wine (survey)
#80013F
ΔE00 3.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B1548 #158B58
analogous
#8B1583 #8B1548 #8B1D15
triadic
#8B1548 #488B15 #15488B
tetradic
#8B1548 #838B15 #158B58 #1D158B
square
#8B1548 #838B15 #158B58 #1D158B
split-complementary
#8B1548 #158B1D #15838B
monochromatic
#210511 #560D2C #8B1548 #C01D64 #E13982
Accessibility & contrast
On white
9.14
#8B1548 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#8B1548 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B1548
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B1548 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B1548 | 1.00 | 9.14 | 2.30 | 9.14 |
| #FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#343A49
Deuteranopia (green-blind)
#535045
Tritanopia (blue-blind)
#98002D
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8b1548; /* rgb */ color: rgb(139, 21, 72); /* oklch */ color: oklch(42.2% 0.155 1.4);
Tailwind
colors: {
custom: {
50: '#b2627a',
500: '#8b1548',
950: '#000000',
},
}SCSS
$custom: #8b1548; $custom-light: #b2627a; $custom-dark: #000000;
JSON
{
"hex": "#8b1548",
"rgb": {
"r": 139,
"g": 21,
"b": 72
},
"hsl": {
"h": 334.068,
"s": 73.75,
"l": 31.373
},
"oklch": {
"l": 0.42231,
"c": 0.15512,
"h": 1.4
},
"luminance": 0.06493
}Semantic roles & 50–950 ramp
primary
#8B1548
secondary
#3DBF87
accent
#F0A037
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B