#8E267A#8E267A
#8E267A is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.2% C 0.167 H 336.8°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #8E267A |
|---|---|
| RGB | rgb(142, 38, 122) |
| HSL | hsl(312, 58%, 35%) |
| HSV | hsv(312, 73%, 56%) |
| CMYK | cmyk(0%, 73.2%, 14.1%, 44.3%) |
| CIE-LAB | lab(35.09, 52.14, -24.16) |
| CIE-LCH | lch(35.09, 57.47, 335.14°) |
| OKLab | oklab(46.25% 0.1533 -0.0657) |
| OKLCH | oklch(46.25% 0.167 336.8) |
| XYZ | xyz(15.3616, 8.5435, 19.2486) |
| Luminance | 0.0854 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.13
Darkmagenta
#8B008B
ΔE00 5.71
Darkish Purple
#751973
ΔE00 5.93
Barney Purple
#A00498
ΔE00 5.97
Red Violet
#9E0168
ΔE00 5.98
Purple
#800080
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E267A #268E3A
analogous
#6E268E #8E267A #8E2646
triadic
#8E267A #7A8E26 #267A8E
tetradic
#8E267A #8E6E26 #268E3A #26468E
square
#8E267A #8E6E26 #268E3A #26468E
split-complementary
#8E267A #468E26 #268E6E
monochromatic
#2D0C27 #5E1951 #8E267A #BE33A3 #D35BBC
Accessibility & contrast
On white
7.75
#8E267A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#8E267A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E267A
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E267A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E267A | 1.00 | 7.75 | 2.71 | 7.75 |
| #FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#29487C
Deuteranopia (green-blind)
#4C5878
Tritanopia (blue-blind)
#962C4D
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #8e267a; /* rgb */ color: rgb(142, 38, 122); /* oklch */ color: oklch(46.2% 0.167 336.8);
Tailwind
colors: {
custom: {
50: '#b26ba0',
500: '#8e267a',
950: '#000000',
},
}SCSS
$custom: #8e267a; $custom-light: #b26ba0; $custom-dark: #000000;
JSON
{
"hex": "#8e267a",
"rgb": {
"r": 142,
"g": 38,
"b": 122
},
"hsl": {
"h": 311.538,
"s": 57.778,
"l": 35.294
},
"oklch": {
"l": 0.46246,
"c": 0.16682,
"h": 336.8
},
"luminance": 0.08542
}Semantic roles & 50–950 ramp
primary
#8E267A
secondary
#58B86A
accent
#E16447
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070F
muted
#807A7E