#8E256D#8E256D
#8E256D is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.5% C 0.159 H 343.3°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #8E256D |
|---|---|
| RGB | rgb(142, 37, 109) |
| HSL | hsl(319, 59%, 35%) |
| HSV | hsv(319, 74%, 56%) |
| CMYK | cmyk(0%, 73.9%, 23.2%, 44.3%) |
| CIE-LAB | lab(34.35, 50.60, -17.11) |
| CIE-LCH | lch(34.35, 53.41, 341.32°) |
| OKLab | oklab(45.51% 0.1524 -0.0457) |
| OKLCH | oklch(45.51% 0.159 343.3) |
| XYZ | xyz(14.5777, 8.1795, 15.2761) |
| Luminance | 0.0818 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.92
Bruise
#7E4071
ΔE00 6.21
Dark Magenta
#960056
ΔE00 6.27
Deep Magenta
#A0025C
ΔE00 6.34
Dark Fuchsia
#9D0759
ΔE00 6.57
Warm Purple
#952E8F
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E256D #258E46
analogous
#7A258E #8E256D #8E2539
triadic
#8E256D #6D8E25 #256D8E
tetradic
#8E256D #8E7A25 #258E46 #25398E
square
#8E256D #8E7A25 #258E46 #25398E
split-complementary
#8E256D #398E25 #258E7A
monochromatic
#2D0C22 #5D1848 #8E256D #BF3292 #D45AAD
Accessibility & contrast
On white
7.97
#8E256D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#8E256D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E256D
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E256D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E256D | 1.00 | 7.97 | 2.64 | 7.97 |
| #FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#30466F
Deuteranopia (green-blind)
#50576B
Tritanopia (blue-blind)
#972546
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8e256d; /* rgb */ color: rgb(142, 37, 109); /* oklch */ color: oklch(45.5% 0.159 343.3);
Tailwind
colors: {
custom: {
50: '#b36a97',
500: '#8e256d',
950: '#000000',
},
}SCSS
$custom: #8e256d; $custom-light: #b36a97; $custom-dark: #000000;
JSON
{
"hex": "#8e256d",
"rgb": {
"r": 142,
"g": 37,
"b": 109
},
"hsl": {
"h": 318.857,
"s": 58.659,
"l": 35.098
},
"oklch": {
"l": 0.45514,
"c": 0.1591,
"h": 343.3
},
"luminance": 0.08178
}Semantic roles & 50–950 ramp
primary
#8E256D
secondary
#56B975
accent
#E27746
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E