#8E266D#8E266D
#8E266D is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.158 H 343.4°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #8E266D |
|---|---|
| RGB | rgb(142, 38, 109) |
| HSL | hsl(319, 58%, 35%) |
| HSV | hsv(319, 73%, 56%) |
| CMYK | cmyk(0%, 73.2%, 23.2%, 44.3%) |
| CIE-LAB | lab(34.48, 50.24, -16.91) |
| CIE-LCH | lch(34.48, 53.00, 341.40°) |
| OKLab | oklab(45.61% 0.1513 -0.0452) |
| OKLCH | oklch(45.61% 0.158 343.4) |
| XYZ | xyz(14.6093, 8.2426, 15.2866) |
| Luminance | 0.0824 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.97
Bruise
#7E4071
ΔE00 6.09
Dark Magenta
#960056
ΔE00 6.29
Deep Magenta
#A0025C
ΔE00 6.33
Dark Fuchsia
#9D0759
ΔE00 6.56
Warm Purple
#952E8F
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E266D #268E47
analogous
#7B268E #8E266D #8E2639
triadic
#8E266D #6D8E26 #266D8E
tetradic
#8E266D #8E7B26 #268E47 #26398E
square
#8E266D #8E7B26 #268E47 #26398E
split-complementary
#8E266D #398E26 #268E7B
monochromatic
#2D0C23 #5E1948 #8E266D #BE3392 #D35BAD
Accessibility & contrast
On white
7.93
#8E266D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#8E266D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E266D
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E266D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E266D | 1.00 | 7.93 | 2.65 | 7.93 |
| #FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#31466F
Deuteranopia (green-blind)
#50576B
Tritanopia (blue-blind)
#972646
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8e266d; /* rgb */ color: rgb(142, 38, 109); /* oklch */ color: oklch(45.6% 0.158 343.4);
Tailwind
colors: {
custom: {
50: '#b36a97',
500: '#8e266d',
950: '#000000',
},
}SCSS
$custom: #8e266d; $custom-light: #b36a97; $custom-dark: #000000;
JSON
{
"hex": "#8e266d",
"rgb": {
"r": 142,
"g": 38,
"b": 109
},
"hsl": {
"h": 319.038,
"s": 57.778,
"l": 35.294
},
"oklch": {
"l": 0.45608,
"c": 0.15788,
"h": 343.4
},
"luminance": 0.08241
}Semantic roles & 50–950 ramp
primary
#8E266D
secondary
#58B876
accent
#E17847
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E