#8F1548#8F1548
#8F1548 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 43.0% C 0.158 H 2.6°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1548 |
|---|---|
| RGB | rgb(143, 21, 72) |
| HSL | hsl(335, 74%, 32%) |
| HSV | hsv(335, 85%, 56%) |
| CMYK | cmyk(0%, 85.3%, 49.7%, 43.9%) |
| CIE-LAB | lab(31.45, 51.53, 2.55) |
| CIE-LCH | lch(31.45, 51.59, 2.83°) |
| OKLab | oklab(42.98% 0.1582 0.0071) |
| OKLCH | oklch(42.98% 0.158 2.6) |
| XYZ | xyz(12.7667, 6.8457, 6.7787) |
| Luminance | 0.0684 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.86
Purple Red
#990147
ΔE00 2.09
Mulberry
#920A4E
ΔE00 2.11
Reddish Purple
#910951
ΔE00 3.09
Wine (survey)
#80013F
ΔE00 3.74
Red Purple
#820747
ΔE00 3.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1548 #158F5C
analogous
#8F1585 #8F1548 #8F1F15
triadic
#8F1548 #488F15 #15488F
tetradic
#8F1548 #858F15 #158F5C #1F158F
square
#8F1548 #858F15 #158F5C #1F158F
split-complementary
#8F1548 #158F1F #15858F
monochromatic
#240512 #5A0D2D #8F1548 #C41D63 #E23C82
Accessibility & contrast
On white
8.87
#8F1548 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#8F1548 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1548
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1548 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1548 | 1.00 | 8.87 | 2.37 | 8.87 |
| #FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363B49
Deuteranopia (green-blind)
#565245
Tritanopia (blue-blind)
#9C002D
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8f1548; /* rgb */ color: rgb(143, 21, 72); /* oklch */ color: oklch(43.0% 0.158 2.6);
Tailwind
colors: {
custom: {
50: '#b6637a',
500: '#8f1548',
950: '#000000',
},
}SCSS
$custom: #8f1548; $custom-light: #b6637a; $custom-dark: #000000;
JSON
{
"hex": "#8f1548",
"rgb": {
"r": 143,
"g": 21,
"b": 72
},
"hsl": {
"h": 334.918,
"s": 74.39,
"l": 32.157
},
"oklch": {
"l": 0.42981,
"c": 0.15838,
"h": 2.6
},
"luminance": 0.06844
}Semantic roles & 50–950 ramp
primary
#8F1548
secondary
#3EC28B
accent
#F1A337
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B