#8F2147#8F2147
#8F2147 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.9% C 0.147 H 5.1°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2147 |
|---|---|
| RGB | rgb(143, 33, 71) |
| HSL | hsl(339, 63%, 35%) |
| HSV | hsv(339, 77%, 56%) |
| CMYK | cmyk(0%, 76.9%, 50.3%, 43.9%) |
| CIE-LAB | lab(32.67, 47.91, 4.95) |
| CIE-LCH | lch(32.67, 48.17, 5.89°) |
| OKLab | oklab(43.86% 0.1465 0.0131) |
| OKLCH | oklch(43.86% 0.147 5.1) |
| XYZ | xyz(13.0100, 7.3841, 6.7002) |
| Luminance | 0.0738 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.57
Purple Red
#990147
ΔE00 2.83
Mulberry
#920A4E
ΔE00 3.93
Reddish Purple
#910951
ΔE00 4.86
Red Wine
#8C0034
ΔE00 4.86
Wine (survey)
#80013F
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2147 #218F69
analogous
#8F217E #8F2147 #8F3221
triadic
#8F2147 #478F21 #21478F
tetradic
#8F2147 #7E8F21 #218F69 #32218F
square
#8F2147 #7E8F21 #218F69 #32218F
split-complementary
#8F2147 #218F32 #217E8F
monochromatic
#2C0A16 #5D162E #8F2147 #C12C60 #D75381
Accessibility & contrast
On white
8.48
#8F2147 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#8F2147 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2147
8.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2147 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2147 | 1.00 | 8.48 | 2.48 | 8.48 |
| #FFFFFF | 8.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C3F48
Deuteranopia (green-blind)
#595544
Tritanopia (blue-blind)
#9C0631
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #8f2147; /* rgb */ color: rgb(143, 33, 71); /* oklch */ color: oklch(43.9% 0.147 5.1);
Tailwind
colors: {
custom: {
50: '#b5677a',
500: '#8f2147',
950: '#000000',
},
}SCSS
$custom: #8f2147; $custom-light: #b5677a; $custom-dark: #000000;
JSON
{
"hex": "#8f2147",
"rgb": {
"r": 143,
"g": 33,
"b": 71
},
"hsl": {
"h": 339.273,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.43862,
"c": 0.14707,
"h": 5.1
},
"luminance": 0.07382
}Semantic roles & 50–950 ramp
primary
#8F2147
secondary
#51BB96
accent
#E6AD42
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120709
muted
#817A7B