#8C1F4E#8C1F4E
#8C1F4E is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.4% C 0.149 H 359.6°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).
Color values
| HEX | #8C1F4E |
|---|---|
| RGB | rgb(140, 31, 78) |
| HSL | hsl(334, 64%, 34%) |
| HSV | hsv(334, 78%, 55%) |
| CMYK | cmyk(0%, 77.9%, 44.3%, 45.1%) |
| CIE-LAB | lab(32.05, 48.38, -0.61) |
| CIE-LCH | lch(32.05, 48.39, 359.28°) |
| OKLab | oklab(43.37% 0.1486 -0.001) |
| OKLCH | oklch(43.37% 0.149 359.6) |
| XYZ | xyz(12.6813, 7.1071, 7.9103) |
| Luminance | 0.0711 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 2.04
Reddish Purple
#910951
ΔE00 2.47
Berry
#990F4B
ΔE00 3.02
Red Purple
#820747
ΔE00 3.56
Dark Magenta
#960056
ΔE00 3.58
Purple Red
#990147
ΔE00 3.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C1F4E #1F8C5D
analogous
#8C1F84 #8C1F4E #8C261F
triadic
#8C1F4E #4E8C1F #1F4E8C
tetradic
#8C1F4E #848C1F #1F8C5D #261F8C
square
#8C1F4E #848C1F #1F8C5D #261F8C
split-complementary
#8C1F4E #1F8C26 #1F848C
monochromatic
#280916 #5A1432 #8C1F4E #BE2A6A #D84E89
Accessibility & contrast
On white
8.67
#8C1F4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#8C1F4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8C1F4E
8.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C1F4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C1F4E | 1.00 | 8.67 | 2.42 | 8.67 |
| #FFFFFF | 8.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373E4F
Deuteranopia (green-blind)
#55534B
Tritanopia (blue-blind)
#980B34
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8c1f4e; /* rgb */ color: rgb(140, 31, 78); /* oklch */ color: oklch(43.4% 0.149 359.6);
Tailwind
colors: {
custom: {
50: '#b2667f',
500: '#8c1f4e',
950: '#000000',
},
}SCSS
$custom: #8c1f4e; $custom-light: #b2667f; $custom-dark: #000000;
JSON
{
"hex": "#8c1f4e",
"rgb": {
"r": 140,
"g": 31,
"b": 78
},
"hsl": {
"h": 334.128,
"s": 63.743,
"l": 33.529
},
"oklch": {
"l": 0.43371,
"c": 0.1486,
"h": 359.6
},
"luminance": 0.07105
}Semantic roles & 50–950 ramp
primary
#8C1F4E
secondary
#4CBB8B
accent
#E79F41
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C