#8F2152#8F2152
#8F2152 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.2% C 0.151 H 358.5°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2152 |
|---|---|
| RGB | rgb(143, 33, 82) |
| HSL | hsl(333, 63%, 35%) |
| HSV | hsv(333, 77%, 56%) |
| CMYK | cmyk(0%, 76.9%, 42.7%, 43.9%) |
| CIE-LAB | lab(33.00, 48.99, -1.76) |
| CIE-LCH | lch(33.00, 49.02, 357.95°) |
| OKLab | oklab(44.22% 0.1505 -0.004) |
| OKLCH | oklch(44.22% 0.151 358.5) |
| XYZ | xyz(13.3955, 7.5383, 8.7306) |
| Luminance | 0.0754 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 2.16
Reddish Purple
#910951
ΔE00 2.37
Dark Magenta
#960056
ΔE00 3.17
Berry
#990F4B
ΔE00 3.18
Dark Fuchsia
#9D0759
ΔE00 3.24
Deep Magenta
#A0025C
ΔE00 3.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2152 #218F5E
analogous
#8F2189 #8F2152 #8F2721
triadic
#8F2152 #528F21 #21528F
tetradic
#8F2152 #898F21 #218F5E #27218F
square
#8F2152 #898F21 #218F5E #27218F
split-complementary
#8F2152 #218F27 #21898F
monochromatic
#2C0A19 #5D1635 #8F2152 #C12C6F #D7538E
Accessibility & contrast
On white
8.38
#8F2152 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#8F2152 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2152
8.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2152 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2152 | 1.00 | 8.38 | 2.51 | 8.38 |
| #FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#394053
Deuteranopia (green-blind)
#57554F
Tritanopia (blue-blind)
#9B1036
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #8f2152; /* rgb */ color: rgb(143, 33, 82); /* oklch */ color: oklch(44.2% 0.151 358.5);
Tailwind
colors: {
custom: {
50: '#b56782',
500: '#8f2152',
950: '#000000',
},
}SCSS
$custom: #8f2152; $custom-light: #b56782; $custom-dark: #000000;
JSON
{
"hex": "#8f2152",
"rgb": {
"r": 143,
"g": 33,
"b": 82
},
"hsl": {
"h": 333.273,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.4422,
"c": 0.15051,
"h": 358.5
},
"luminance": 0.07537
}Semantic roles & 50–950 ramp
primary
#8F2152
secondary
#51BB8C
accent
#E69D42
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12070A
muted
#817A7C