#8F2158#8F2158
#8F2158 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.4% C 0.153 H 354.9°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2158 |
|---|---|
| RGB | rgb(143, 33, 88) |
| HSL | hsl(330, 63%, 35%) |
| HSV | hsv(330, 77%, 56%) |
| CMYK | cmyk(0%, 76.9%, 38.5%, 43.9%) |
| CIE-LAB | lab(33.21, 49.63, -5.35) |
| CIE-LCH | lch(33.21, 49.92, 353.85°) |
| OKLab | oklab(44.44% 0.1524 -0.0135) |
| OKLCH | oklch(44.44% 0.153 354.9) |
| XYZ | xyz(13.6339, 7.6336, 9.9861) |
| Luminance | 0.0763 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 2.43
Dark Magenta
#960056
ΔE00 2.61
Dark Fuchsia
#9D0759
ΔE00 2.89
Mulberry
#920A4E
ΔE00 2.94
Deep Magenta
#A0025C
ΔE00 3.35
Red Purple
#820747
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2158 #218F58
analogous
#8F218F #8F2158 #8F2121
triadic
#8F2158 #588F21 #21588F
tetradic
#8F2158 #8F8F21 #218F58 #21218F
square
#8F2158 #8F8F21 #218F58 #21218F
split-complementary
#8F2158 #218F21 #218F8F
monochromatic
#2C0A1B #5D1639 #8F2158 #C12C77 #D75395
Accessibility & contrast
On white
8.31
#8F2158 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#8F2158 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2158
8.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2158 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2158 | 1.00 | 8.31 | 2.53 | 8.31 |
| #FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#374159
Deuteranopia (green-blind)
#555556
Tritanopia (blue-blind)
#9B1439
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #8f2158; /* rgb */ color: rgb(143, 33, 88); /* oklch */ color: oklch(44.4% 0.153 354.9);
Tailwind
colors: {
custom: {
50: '#b46787',
500: '#8f2158',
950: '#000000',
},
}SCSS
$custom: #8f2158; $custom-light: #b46787; $custom-dark: #000000;
JSON
{
"hex": "#8f2158",
"rgb": {
"r": 143,
"g": 33,
"b": 88
},
"hsl": {
"h": 330,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.44438,
"c": 0.153,
"h": 354.9
},
"luminance": 0.07632
}Semantic roles & 50–950 ramp
primary
#8F2158
secondary
#51BB86
accent
#E69442
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12070B
muted
#817A7C