#8C1145#8C1145
#8C1145 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.1% C 0.158 H 2.9°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).
Color values
| HEX | #8C1145 |
|---|---|
| RGB | rgb(140, 17, 69) |
| HSL | hsl(335, 78%, 31%) |
| HSV | hsv(335, 88%, 55%) |
| CMYK | cmyk(0%, 87.9%, 50.7%, 45.1%) |
| CIE-LAB | lab(30.42, 51.38, 2.97) |
| CIE-LCH | lch(30.42, 51.47, 3.31°) |
| OKLab | oklab(42.08% 0.1578 0.0081) |
| OKLCH | oklch(42.08% 0.158 2.9) |
| XYZ | xyz(12.0909, 6.4078, 6.2292) |
| Luminance | 0.0641 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.44
Mulberry
#920A4E
ΔE00 2.48
Berry
#990F4B
ΔE00 2.52
Wine (survey)
#80013F
ΔE00 3.00
Reddish Purple
#910951
ΔE00 3.39
Red Purple
#820747
ΔE00 3.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C1145 #118C58
analogous
#8C1182 #8C1145 #8C1A11
triadic
#8C1145 #458C11 #11458C
tetradic
#8C1145 #828C11 #118C58 #1A118C
square
#8C1145 #828C11 #118C58 #1A118C
split-complementary
#8C1145 #118C1A #11828C
monochromatic
#1F040F #550A2A #8C1145 #C31860 #E6317E
Accessibility & contrast
On white
9.21
#8C1145 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#8C1145 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8C1145
9.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C1145 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C1145 | 1.00 | 9.21 | 2.28 | 9.21 |
| #FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#333946
Deuteranopia (green-blind)
#545042
Tritanopia (blue-blind)
#99002A
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8c1145; /* rgb */ color: rgb(140, 17, 69); /* oklch */ color: oklch(42.1% 0.158 2.9);
Tailwind
colors: {
custom: {
50: '#b36178',
500: '#8c1145',
950: '#000000',
},
}SCSS
$custom: #8c1145; $custom-light: #b36178; $custom-dark: #000000;
JSON
{
"hex": "#8c1145",
"rgb": {
"r": 140,
"g": 17,
"b": 69
},
"hsl": {
"h": 334.634,
"s": 78.344,
"l": 30.784
},
"oklch": {
"l": 0.42084,
"c": 0.15799,
"h": 2.9
},
"luminance": 0.06406
}Semantic roles & 50–950 ramp
primary
#8C1145
secondary
#38C187
accent
#F5A333
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120608
muted
#817A7B