#8F1252#8F1252
#8F1252 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.2% C 0.164 H 356.6°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1252 |
|---|---|
| RGB | rgb(143, 18, 82) |
| HSL | hsl(329, 78%, 32%) |
| HSV | hsv(329, 87%, 56%) |
| CMYK | cmyk(0%, 87.4%, 42.7%, 43.9%) |
| CIE-LAB | lab(31.54, 53.15, -3.92) |
| CIE-LCH | lch(31.54, 53.30, 355.78°) |
| OKLab | oklab(43.15% 0.1638 -0.0096) |
| OKLCH | oklch(43.15% 0.164 356.6) |
| XYZ | xyz(13.0680, 6.8832, 8.6215) |
| Luminance | 0.0688 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 0.64
Mulberry
#920A4E
ΔE00 1.41
Dark Magenta
#960056
ΔE00 1.60
Dark Fuchsia
#9D0759
ΔE00 2.62
Red Purple
#820747
ΔE00 3.08
Deep Magenta
#A0025C
ΔE00 3.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1252 #128F4F
analogous
#8E128F #8F1252 #8F1214
triadic
#8F1252 #528F12 #12528F
tetradic
#8F1252 #8F8E12 #128F4F #12148F
square
#8F1252 #8F8E12 #128F4F #12148F
split-complementary
#8F1252 #148F12 #128F8E
monochromatic
#220414 #590B33 #8F1252 #C51971 #E63690
Accessibility & contrast
On white
8.84
#8F1252 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#8F1252 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1252
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1252 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1252 | 1.00 | 8.84 | 2.38 | 8.84 |
| #FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#313C53
Deuteranopia (green-blind)
#53524F
Tritanopia (blue-blind)
#9B0031
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8f1252; /* rgb */ color: rgb(143, 18, 82); /* oklch */ color: oklch(43.2% 0.164 356.6);
Tailwind
colors: {
custom: {
50: '#b56282',
500: '#8f1252',
950: '#000000',
},
}SCSS
$custom: #8f1252; $custom-light: #b56282; $custom-dark: #000000;
JSON
{
"hex": "#8f1252",
"rgb": {
"r": 143,
"g": 18,
"b": 82
},
"hsl": {
"h": 329.28,
"s": 77.64,
"l": 31.569
},
"oklch": {
"l": 0.43151,
"c": 0.1641,
"h": 356.6
},
"luminance": 0.06881
}Semantic roles & 50–950 ramp
primary
#8F1252
secondary
#3AC37D
accent
#F49234
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C