#8C2F4E#8C2F4E
#8C2F4E is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.0% C 0.129 H 3.3°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #8C2F4E |
|---|---|
| RGB | rgb(140, 47, 78) |
| HSL | hsl(340, 50%, 37%) |
| HSV | hsv(340, 66%, 55%) |
| CMYK | cmyk(0%, 66.4%, 44.3%, 45.1%) |
| CIE-LAB | lab(34.31, 42.11, 2.68) |
| CIE-LCH | lch(34.31, 42.19, 3.65°) |
| OKLab | oklab(45.04% 0.1286 0.0074) |
| OKLCH | oklch(45.04% 0.129 3.3) |
| XYZ | xyz(13.2078, 8.1601, 8.0858) |
| Luminance | 0.0816 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 4.33
Purple Red
#990147
ΔE00 5.01
Mulberry
#920A4E
ΔE00 5.06
Reddish Purple
#910951
ΔE00 5.65
Violet Red
#A50055
ΔE00 6.02
Dark Fuchsia
#9D0759
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C2F4E #2F8C6D
analogous
#8C2F7D #8C2F4E #8C3F2F
triadic
#8C2F4E #4E8C2F #2F4E8C
tetradic
#8C2F4E #7D8C2F #2F8C6D #3F2F8C
square
#8C2F4E #7D8C2F #2F8C6D #3F2F8C
split-complementary
#8C2F4E #2F8C3F #2F7D8C
monochromatic
#30101B #5E2034 #8C2F4E #BA3E68 #CD698A
Accessibility & contrast
On white
7.98
#8C2F4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#8C2F4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8C2F4E
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C2F4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8C2F4E | 1.00 | 7.98 | 2.63 | 7.98 |
| #FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#42454F
Deuteranopia (green-blind)
#5B574C
Tritanopia (blue-blind)
#98233B
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8c2f4e; /* rgb */ color: rgb(140, 47, 78); /* oklch */ color: oklch(45.0% 0.129 3.3);
Tailwind
colors: {
custom: {
50: '#b26d7f',
500: '#8c2f4e',
950: '#000000',
},
}SCSS
$custom: #8c2f4e; $custom-light: #b26d7f; $custom-dark: #000000;
JSON
{
"hex": "#8c2f4e",
"rgb": {
"r": 140,
"g": 47,
"b": 78
},
"hsl": {
"h": 340,
"s": 49.733,
"l": 36.667
},
"oklch": {
"l": 0.45044,
"c": 0.12883,
"h": 3.3
},
"luminance": 0.08159
}Semantic roles & 50–950 ramp
primary
#8C2F4E
secondary
#63B499
accent
#D9AB4F
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11070A
muted
#807A7C