#8F1248#8F1248
#8F1248 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.8% C 0.161 H 2.2°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1248 |
|---|---|
| RGB | rgb(143, 18, 72) |
| HSL | hsl(334, 78%, 32%) |
| HSV | hsv(334, 87%, 56%) |
| CMYK | cmyk(0%, 87.4%, 49.7%, 43.9%) |
| CIE-LAB | lab(31.21, 52.22, 2.20) |
| CIE-LCH | lch(31.21, 52.26, 2.41°) |
| OKLab | oklab(42.81% 0.1605 0.0062) |
| OKLCH | oklch(42.81% 0.161 2.2) |
| XYZ | xyz(12.7148, 6.7419, 6.7614) |
| Luminance | 0.0674 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 1.87
Berry
#990F4B
ΔE00 1.93
Purple Red
#990147
ΔE00 2.10
Reddish Purple
#910951
ΔE00 2.85
Wine (survey)
#80013F
ΔE00 3.54
Red Purple
#820747
ΔE00 3.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1248 #128F59
analogous
#8F1287 #8F1248 #8F1B12
triadic
#8F1248 #488F12 #12488F
tetradic
#8F1248 #878F12 #128F59 #1B128F
square
#8F1248 #878F12 #128F59 #1B128F
split-complementary
#8F1248 #128F1B #12878F
monochromatic
#220411 #590B2D #8F1248 #C51963 #E63682
Accessibility & contrast
On white
8.94
#8F1248 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#8F1248 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1248
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1248 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1248 | 1.00 | 8.94 | 2.35 | 8.94 |
| #FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#343A49
Deuteranopia (green-blind)
#555245
Tritanopia (blue-blind)
#9C002C
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8f1248; /* rgb */ color: rgb(143, 18, 72); /* oklch */ color: oklch(42.8% 0.161 2.2);
Tailwind
colors: {
custom: {
50: '#b6627a',
500: '#8f1248',
950: '#000000',
},
}SCSS
$custom: #8f1248; $custom-light: #b6627a; $custom-dark: #000000;
JSON
{
"hex": "#8f1248",
"rgb": {
"r": 143,
"g": 18,
"b": 72
},
"hsl": {
"h": 334.08,
"s": 77.64,
"l": 31.569
},
"oklch": {
"l": 0.42805,
"c": 0.16058,
"h": 2.2
},
"luminance": 0.0674
}Semantic roles & 50–950 ramp
primary
#8F1248
secondary
#3AC388
accent
#F4A134
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B