#8F1246#8F1246
#8F1246 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.7% C 0.160 H 3.3°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1246 |
|---|---|
| RGB | rgb(143, 18, 70) |
| HSL | hsl(335, 78%, 32%) |
| HSV | hsv(335, 87%, 56%) |
| CMYK | cmyk(0%, 87.4%, 51%, 43.9%) |
| CIE-LAB | lab(31.15, 52.04, 3.44) |
| CIE-LCH | lch(31.15, 52.16, 3.78°) |
| OKLab | oklab(42.74% 0.1597 0.0093) |
| OKLCH | oklch(42.74% 0.16 3.3) |
| XYZ | xyz(12.6506, 6.7163, 6.4234) |
| Luminance | 0.0671 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 1.89
Berry
#990F4B
ΔE00 1.93
Mulberry
#920A4E
ΔE00 2.47
Reddish Purple
#910951
ΔE00 3.47
Wine (survey)
#80013F
ΔE00 3.63
Red Purple
#820747
ΔE00 3.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1246 #128F5B
analogous
#8F1285 #8F1246 #8F1D12
triadic
#8F1246 #468F12 #12468F
tetradic
#8F1246 #858F12 #128F5B #1D128F
square
#8F1246 #858F12 #128F5B #1D128F
split-complementary
#8F1246 #128F1D #12858F
monochromatic
#220411 #590B2B #8F1246 #C51961 #E6367F
Accessibility & contrast
On white
8.96
#8F1246 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#8F1246 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1246
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1246 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1246 | 1.00 | 8.96 | 2.34 | 8.96 |
| #FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353A47
Deuteranopia (green-blind)
#565243
Tritanopia (blue-blind)
#9C002B
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8f1246; /* rgb */ color: rgb(143, 18, 70); /* oklch */ color: oklch(42.7% 0.160 3.3);
Tailwind
colors: {
custom: {
50: '#b66279',
500: '#8f1246',
950: '#000000',
},
}SCSS
$custom: #8f1246; $custom-light: #b66279; $custom-dark: #000000;
JSON
{
"hex": "#8f1246",
"rgb": {
"r": 143,
"g": 18,
"b": 70
},
"hsl": {
"h": 335.04,
"s": 77.64,
"l": 31.569
},
"oklch": {
"l": 0.42741,
"c": 0.16,
"h": 3.3
},
"luminance": 0.06714
}Semantic roles & 50–950 ramp
primary
#8F1246
secondary
#3AC38A
accent
#F4A434
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B