#8F1547#8F1547
#8F1547 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.9% C 0.158 H 3.1°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1547 |
|---|---|
| RGB | rgb(143, 21, 71) |
| HSL | hsl(335, 74%, 32%) |
| HSV | hsv(335, 85%, 56%) |
| CMYK | cmyk(0%, 85.3%, 50.3%, 43.9%) |
| CIE-LAB | lab(31.42, 51.44, 3.17) |
| CIE-LCH | lch(31.42, 51.54, 3.52°) |
| OKLab | oklab(42.95% 0.1579 0.0086) |
| OKLCH | oklch(42.95% 0.158 3.1) |
| XYZ | xyz(12.7343, 6.8327, 6.6083) |
| Luminance | 0.0683 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.87
Purple Red
#990147
ΔE00 1.99
Mulberry
#920A4E
ΔE00 2.41
Reddish Purple
#910951
ΔE00 3.40
Wine (survey)
#80013F
ΔE00 3.78
Red Purple
#820747
ΔE00 4.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1547 #158F5D
analogous
#8F1584 #8F1547 #8F2015
triadic
#8F1547 #478F15 #15478F
tetradic
#8F1547 #848F15 #158F5D #20158F
square
#8F1547 #848F15 #158F5D #20158F
split-complementary
#8F1547 #158F20 #15848F
monochromatic
#240512 #5A0D2D #8F1547 #C41D61 #E23C80
Accessibility & contrast
On white
8.87
#8F1547 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#8F1547 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1547
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1547 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1547 | 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)
#363B48
Deuteranopia (green-blind)
#565244
Tritanopia (blue-blind)
#9C002C
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8f1547; /* rgb */ color: rgb(143, 21, 71); /* oklch */ color: oklch(42.9% 0.158 3.1);
Tailwind
colors: {
custom: {
50: '#b6637a',
500: '#8f1547',
950: '#000000',
},
}SCSS
$custom: #8f1547; $custom-light: #b6637a; $custom-dark: #000000;
JSON
{
"hex": "#8f1547",
"rgb": {
"r": 143,
"g": 21,
"b": 71
},
"hsl": {
"h": 335.41,
"s": 74.39,
"l": 32.157
},
"oklch": {
"l": 0.42949,
"c": 0.15809,
"h": 3.1
},
"luminance": 0.06831
}Semantic roles & 50–950 ramp
primary
#8F1547
secondary
#3EC28C
accent
#F1A537
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B