#8F1852#8F1852
#8F1852 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.5% C 0.159 H 357.2°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1852 |
|---|---|
| RGB | rgb(143, 24, 82) |
| HSL | hsl(331, 71%, 33%) |
| HSV | hsv(331, 83%, 56%) |
| CMYK | cmyk(0%, 83.2%, 42.7%, 43.9%) |
| CIE-LAB | lab(32.04, 51.71, -3.17) |
| CIE-LCH | lch(32.04, 51.81, 356.49°) |
| OKLab | oklab(43.52% 0.1592 -0.0077) |
| OKLCH | oklch(43.52% 0.159 357.2) |
| XYZ | xyz(13.1783, 7.1039, 8.6582) |
| Luminance | 0.0710 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 1.14
Mulberry
#920A4E
ΔE00 1.42
Dark Magenta
#960056
ΔE00 2.05
Dark Fuchsia
#9D0759
ΔE00 2.69
Red Purple
#820747
ΔE00 3.36
Deep Magenta
#A0025C
ΔE00 3.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1852 #188F55
analogous
#8F188D #8F1852 #8F1918
triadic
#8F1852 #528F18 #18528F
tetradic
#8F1852 #8D8F18 #188F55 #19188F
square
#8F1852 #8D8F18 #188F55 #19188F
split-complementary
#8F1852 #188F19 #188D8F
monochromatic
#260616 #5B0F34 #8F1852 #C32170 #DF428F
Accessibility & contrast
On white
8.68
#8F1852 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#8F1852 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1852
8.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1852 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1852 | 1.00 | 8.68 | 2.42 | 8.68 |
| #FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#343D53
Deuteranopia (green-blind)
#54534F
Tritanopia (blue-blind)
#9B0033
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8f1852; /* rgb */ color: rgb(143, 24, 82); /* oklch */ color: oklch(43.5% 0.159 357.2);
Tailwind
colors: {
custom: {
50: '#b56482',
500: '#8f1852',
950: '#000000',
},
}SCSS
$custom: #8f1852; $custom-light: #b56482; $custom-dark: #000000;
JSON
{
"hex": "#8f1852",
"rgb": {
"r": 143,
"g": 24,
"b": 82
},
"hsl": {
"h": 330.756,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.43517,
"c": 0.15938,
"h": 357.2
},
"luminance": 0.07102
}Semantic roles & 50–950 ramp
primary
#8F1852
secondary
#43C083
accent
#EE963A
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C