#8F174A#8F174A
#8F174A is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.2% C 0.157 H 1.7°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #8F174A |
|---|---|
| RGB | rgb(143, 23, 74) |
| HSL | hsl(335, 72%, 33%) |
| HSV | hsv(335, 84%, 56%) |
| CMYK | cmyk(0%, 83.9%, 48.3%, 43.9%) |
| CIE-LAB | lab(31.69, 51.20, 1.57) |
| CIE-LCH | lch(31.69, 51.23, 1.76°) |
| OKLab | oklab(43.17% 0.1573 0.0046) |
| OKLCH | oklch(43.17% 0.157 1.7) |
| XYZ | xyz(12.8712, 6.9486, 7.1407) |
| Luminance | 0.0695 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 1.76
Berry
#990F4B
ΔE00 1.94
Purple Red
#990147
ΔE00 2.38
Reddish Purple
#910951
ΔE00 2.69
Red Purple
#820747
ΔE00 3.68
Dark Magenta
#960056
ΔE00 3.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F174A #178F5C
analogous
#8F1786 #8F174A #8F2017
triadic
#8F174A #4A8F17 #174A8F
tetradic
#8F174A #868F17 #178F5C #20178F
square
#8F174A #868F17 #178F5C #20178F
split-complementary
#8F174A #178F20 #17868F
monochromatic
#260613 #5A0F2F #8F174A #C41F65 #E04084
Accessibility & contrast
On white
8.79
#8F174A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#8F174A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F174A
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F174A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F174A | 1.00 | 8.79 | 2.39 | 8.79 |
| #FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363C4B
Deuteranopia (green-blind)
#565347
Tritanopia (blue-blind)
#9C002F
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8f174a; /* rgb */ color: rgb(143, 23, 74); /* oklch */ color: oklch(43.2% 0.157 1.7);
Tailwind
colors: {
custom: {
50: '#b5637c',
500: '#8f174a',
950: '#000000',
},
}SCSS
$custom: #8f174a; $custom-light: #b5637c; $custom-dark: #000000;
JSON
{
"hex": "#8f174a",
"rgb": {
"r": 143,
"g": 23,
"b": 74
},
"hsl": {
"h": 334.5,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.43174,
"c": 0.15739,
"h": 1.7
},
"luminance": 0.06947
}Semantic roles & 50–950 ramp
primary
#8F174A
secondary
#41C18A
accent
#EFA239
background
#FBF6F7
surface
#F7EBEE
border
#D0C6C9
text
#120609
muted
#817A7B