#8C124E#8C124E
#8C124E is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.160 H 357.9°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #8C124E |
|---|---|
| RGB | rgb(140, 18, 78) |
| HSL | hsl(330, 77%, 31%) |
| HSV | hsv(330, 87%, 55%) |
| CMYK | cmyk(0%, 87.1%, 44.3%, 45.1%) |
| CIE-LAB | lab(30.78, 51.99, -2.47) |
| CIE-LCH | lch(30.78, 52.05, 357.28°) |
| OKLab | oklab(42.44% 0.1602 -0.0058) |
| OKLCH | oklch(42.44% 0.16 357.9) |
| XYZ | xyz(12.4077, 6.5598, 7.8191) |
| Luminance | 0.0656 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 1.11
Mulberry
#920A4E
ΔE00 1.22
Red Purple
#820747
ΔE00 2.37
Dark Magenta
#960056
ΔE00 2.42
Dark Fuchsia
#9D0759
ΔE00 3.39
Berry
#990F4B
ΔE00 3.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C124E #128C50
analogous
#8C128B #8C124E #8C1312
triadic
#8C124E #4E8C12 #124E8C
tetradic
#8C124E #8B8C12 #128C50 #13128C
square
#8C124E #8B8C12 #128C50 #13128C
split-complementary
#8C124E #128C13 #128B8C
monochromatic
#200412 #560B30 #8C124E #C2196C #E5348B
Accessibility & contrast
On white
9.08
#8C124E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#8C124E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8C124E
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C124E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C124E | 1.00 | 9.08 | 2.31 | 9.08 |
| #FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#313A4F
Deuteranopia (green-blind)
#52504B
Tritanopia (blue-blind)
#98002F
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8c124e; /* rgb */ color: rgb(140, 18, 78); /* oklch */ color: oklch(42.4% 0.160 357.9);
Tailwind
colors: {
custom: {
50: '#b3617f',
500: '#8c124e',
950: '#000000',
},
}SCSS
$custom: #8c124e; $custom-light: #b3617f; $custom-dark: #000000;
JSON
{
"hex": "#8c124e",
"rgb": {
"r": 140,
"g": 18,
"b": 78
},
"hsl": {
"h": 330.492,
"s": 77.215,
"l": 30.98
},
"oklch": {
"l": 0.42444,
"c": 0.1603,
"h": 357.9
},
"luminance": 0.06558
}Semantic roles & 50–950 ramp
primary
#8C124E
secondary
#39C07E
accent
#F49534
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C