#8F2157#8F2157
#8F2157 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.4% C 0.153 H 355.5°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2157 |
|---|---|
| RGB | rgb(143, 33, 87) |
| HSL | hsl(331, 63%, 35%) |
| HSV | hsv(331, 77%, 56%) |
| CMYK | cmyk(0%, 76.9%, 39.2%, 43.9%) |
| CIE-LAB | lab(33.17, 49.52, -4.76) |
| CIE-LCH | lch(33.17, 49.75, 354.51°) |
| OKLab | oklab(44.4% 0.1521 -0.0119) |
| OKLCH | oklch(44.4% 0.153 355.5) |
| XYZ | xyz(13.5928, 7.6172, 9.7694) |
| Luminance | 0.0761 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 2.33
Dark Magenta
#960056
ΔE00 2.63
Mulberry
#920A4E
ΔE00 2.75
Dark Fuchsia
#9D0759
ΔE00 2.88
Deep Magenta
#A0025C
ΔE00 3.39
Berry
#990F4B
ΔE00 4.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2157 #218F59
analogous
#8F218E #8F2157 #8F2221
triadic
#8F2157 #578F21 #21578F
tetradic
#8F2157 #8E8F21 #218F59 #22218F
square
#8F2157 #8E8F21 #218F59 #22218F
split-complementary
#8F2157 #218F22 #218E8F
monochromatic
#2C0A1A #5D1639 #8F2157 #C12C75 #D75394
Accessibility & contrast
On white
8.32
#8F2157 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#8F2157 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2157
8.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2157 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2157 | 1.00 | 8.32 | 2.52 | 8.32 |
| #FFFFFF | 8.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#374158
Deuteranopia (green-blind)
#565555
Tritanopia (blue-blind)
#9B1339
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #8f2157; /* rgb */ color: rgb(143, 33, 87); /* oklch */ color: oklch(44.4% 0.153 355.5);
Tailwind
colors: {
custom: {
50: '#b46786',
500: '#8f2157',
950: '#000000',
},
}SCSS
$custom: #8f2157; $custom-light: #b46786; $custom-dark: #000000;
JSON
{
"hex": "#8f2157",
"rgb": {
"r": 143,
"g": 33,
"b": 87
},
"hsl": {
"h": 330.545,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.444,
"c": 0.15256,
"h": 355.5
},
"luminance": 0.07615
}Semantic roles & 50–950 ramp
primary
#8F2157
secondary
#51BB87
accent
#E69542
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12070B
muted
#817A7C