#8E266E#8E266E
#8E266E is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.7% C 0.159 H 342.8°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #8E266E |
|---|---|
| RGB | rgb(142, 38, 110) |
| HSL | hsl(318, 58%, 35%) |
| HSV | hsv(318, 73%, 56%) |
| CMYK | cmyk(0%, 73.2%, 22.5%, 44.3%) |
| CIE-LAB | lab(34.53, 50.37, -17.47) |
| CIE-LCH | lch(34.53, 53.32, 340.87°) |
| OKLab | oklab(45.66% 0.1515 -0.0468) |
| OKLCH | oklch(45.66% 0.159 342.8) |
| XYZ | xyz(14.6634, 8.2643, 15.5718) |
| Luminance | 0.0826 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.08
Bruise
#7E4071
ΔE00 6.06
Dark Magenta
#960056
ΔE00 6.50
Deep Magenta
#A0025C
ΔE00 6.53
Warm Purple
#952E8F
ΔE00 6.68
Dark Fuchsia
#9D0759
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E266E #268E46
analogous
#7A268E #8E266E #8E263A
triadic
#8E266E #6E8E26 #266E8E
tetradic
#8E266E #8E7A26 #268E46 #263A8E
square
#8E266E #8E7A26 #268E46 #263A8E
split-complementary
#8E266E #3A8E26 #268E7A
monochromatic
#2D0C23 #5E1949 #8E266E #BE3393 #D35BAE
Accessibility & contrast
On white
7.92
#8E266E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#8E266E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E266E
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E266E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E266E | 1.00 | 7.92 | 2.65 | 7.92 |
| #FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#304670
Deuteranopia (green-blind)
#50576C
Tritanopia (blue-blind)
#972746
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8e266e; /* rgb */ color: rgb(142, 38, 110); /* oklch */ color: oklch(45.7% 0.159 342.8);
Tailwind
colors: {
custom: {
50: '#b36a97',
500: '#8e266e',
950: '#000000',
},
}SCSS
$custom: #8e266e; $custom-light: #b36a97; $custom-dark: #000000;
JSON
{
"hex": "#8e266e",
"rgb": {
"r": 142,
"g": 38,
"b": 110
},
"hsl": {
"h": 318.462,
"s": 57.778,
"l": 35.294
},
"oklch": {
"l": 0.45655,
"c": 0.15852,
"h": 342.8
},
"luminance": 0.08263
}Semantic roles & 50–950 ramp
primary
#8E266E
secondary
#58B875
accent
#E17647
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E