#8C2A4D#8C2A4D
#8C2A4D is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.4% C 0.135 H 2.6°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #8C2A4D |
|---|---|
| RGB | rgb(140, 42, 77) |
| HSL | hsl(339, 54%, 36%) |
| HSV | hsv(339, 70%, 55%) |
| CMYK | cmyk(0%, 70%, 45%, 45.1%) |
| CIE-LAB | lab(33.50, 44.16, 2.15) |
| CIE-LCH | lch(33.50, 44.21, 2.79°) |
| OKLab | oklab(44.43% 0.1351 0.006) |
| OKLCH | oklch(44.43% 0.135 2.6) |
| XYZ | xyz(12.9837, 7.7688, 7.8355) |
| Luminance | 0.0777 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 3.57
Mulberry
#920A4E
ΔE00 4.08
Purple Red
#990147
ΔE00 4.25
Reddish Purple
#910951
ΔE00 4.70
Violet Red
#A50055
ΔE00 5.43
Dark Fuchsia
#9D0759
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C2A4D #2A8C69
analogous
#8C2A7E #8C2A4D #8C382A
triadic
#8C2A4D #4D8C2A #2A4D8C
tetradic
#8C2A4D #7E8C2A #2A8C69 #382A8C
square
#8C2A4D #7E8C2A #2A8C69 #382A8C
split-complementary
#8C2A4D #2A8C38 #2A7E8C
monochromatic
#2E0E19 #5D1C33 #8C2A4D #BB3867 #D06188
Accessibility & contrast
On white
8.22
#8C2A4D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#8C2A4D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8C2A4D
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C2A4D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C2A4D | 1.00 | 8.22 | 2.55 | 8.22 |
| #FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F434E
Deuteranopia (green-blind)
#59564B
Tritanopia (blue-blind)
#981C38
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8c2a4d; /* rgb */ color: rgb(140, 42, 77); /* oklch */ color: oklch(44.4% 0.135 2.6);
Tailwind
colors: {
custom: {
50: '#b26b7e',
500: '#8c2a4d',
950: '#000000',
},
}SCSS
$custom: #8c2a4d; $custom-light: #b26b7e; $custom-dark: #000000;
JSON
{
"hex": "#8c2a4d",
"rgb": {
"r": 140,
"g": 42,
"b": 77
},
"hsl": {
"h": 338.571,
"s": 53.846,
"l": 35.686
},
"oklch": {
"l": 0.44428,
"c": 0.13522,
"h": 2.6
},
"luminance": 0.07767
}Semantic roles & 50–950 ramp
primary
#8C2A4D
secondary
#5CB596
accent
#DDA94B
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11070A
muted
#807A7C