#8F2852#8F2852
#8F2852 is a dark, vivid pink. Relative luminance 0.080; OKLCH L 44.9% C 0.142 H 359.8°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2852 |
|---|---|
| RGB | rgb(143, 40, 82) |
| HSL | hsl(336, 56%, 36%) |
| HSV | hsv(336, 72%, 56%) |
| CMYK | cmyk(0%, 72%, 42.7%, 43.9%) |
| CIE-LAB | lab(33.92, 46.43, -0.42) |
| CIE-LCH | lch(33.92, 46.43, 359.49°) |
| OKLab | oklab(44.89% 0.1423 -0.0005) |
| OKLCH | oklch(44.89% 0.142 359.8) |
| XYZ | xyz(13.6104, 7.9681, 8.8023) |
| Luminance | 0.0797 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 3.24
Berry
#990F4B
ΔE00 3.38
Reddish Purple
#910951
ΔE00 3.62
Dark Fuchsia
#9D0759
ΔE00 4.12
Purple Red
#990147
ΔE00 4.28
Dark Magenta
#960056
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2852 #288F65
analogous
#8F2885 #8F2852 #8F3128
triadic
#8F2852 #528F28 #28528F
tetradic
#8F2852 #858F28 #288F65 #31288F
square
#8F2852 #858F28 #288F65 #31288F
split-complementary
#8F2852 #288F31 #28858F
monochromatic
#2F0D1B #5F1B37 #8F2852 #BF356D #D25F8E
Accessibility & contrast
On white
8.10
#8F2852 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#8F2852 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2852
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2852 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2852 | 1.00 | 8.10 | 2.59 | 8.10 |
| #FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D4353
Deuteranopia (green-blind)
#595750
Tritanopia (blue-blind)
#9B1B3A
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #8f2852; /* rgb */ color: rgb(143, 40, 82); /* oklch */ color: oklch(44.9% 0.142 359.8);
Tailwind
colors: {
custom: {
50: '#b46a82',
500: '#8f2852',
950: '#000000',
},
}SCSS
$custom: #8f2852; $custom-light: #b46a82; $custom-dark: #000000;
JSON
{
"hex": "#8f2852",
"rgb": {
"r": 143,
"g": 40,
"b": 82
},
"hsl": {
"h": 335.534,
"s": 56.284,
"l": 35.882
},
"oklch": {
"l": 0.44892,
"c": 0.14231,
"h": 359.8
},
"luminance": 0.07966
}Semantic roles & 50–950 ramp
primary
#8F2852
secondary
#5BB892
accent
#E0A248
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#12070A
muted
#817A7C