#8E2F56#8E2F56
#8E2F56 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 45.6% C 0.134 H 358.5°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2F56 |
|---|---|
| RGB | rgb(142, 47, 86) |
| HSL | hsl(335, 50%, 37%) |
| HSV | hsv(335, 67%, 56%) |
| CMYK | cmyk(0%, 66.9%, 39.4%, 44.3%) |
| CIE-LAB | lab(34.92, 43.65, -1.55) |
| CIE-LCH | lch(34.92, 43.68, 357.97°) |
| OKLab | oklab(45.64% 0.1335 -0.0035) |
| OKLCH | oklch(45.64% 0.134 358.5) |
| XYZ | xyz(13.8524, 8.4573, 9.7052) |
| Luminance | 0.0846 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 4.45
Reddish Purple
#910951
ΔE00 4.63
Berry
#990F4B
ΔE00 4.64
Dark Fuchsia
#9D0759
ΔE00 4.82
Dark Magenta
#960056
ΔE00 5.17
Deep Magenta
#A0025C
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2F56 #2F8E67
analogous
#8E2F86 #8E2F56 #8E372F
triadic
#8E2F56 #568E2F #2F568E
tetradic
#8E2F56 #868E2F #2F8E67 #372F8E
square
#8E2F56 #868E2F #2F8E67 #372F8E
split-complementary
#8E2F56 #2F8E37 #2F868E
monochromatic
#32111E #60203A #8E2F56 #BC3E72 #CE6A93
Accessibility & contrast
On white
7.80
#8E2F56 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#8E2F56 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2F56
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2F56 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2F56 | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404757
Deuteranopia (green-blind)
#5A5954
Tritanopia (blue-blind)
#99263F
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #8e2f56; /* rgb */ color: rgb(142, 47, 86); /* oklch */ color: oklch(45.6% 0.134 358.5);
Tailwind
colors: {
custom: {
50: '#b36e85',
500: '#8e2f56',
950: '#000000',
},
}SCSS
$custom: #8e2f56; $custom-light: #b36e85; $custom-dark: #000000;
JSON
{
"hex": "#8e2f56",
"rgb": {
"r": 142,
"g": 47,
"b": 86
},
"hsl": {
"h": 335.368,
"s": 50.265,
"l": 37.059
},
"oklch": {
"l": 0.4564,
"c": 0.13359,
"h": 358.5
},
"luminance": 0.08456
}Semantic roles & 50–950 ramp
primary
#8E2F56
secondary
#64B594
accent
#DAA04E
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11070B
muted
#807A7C