#7E286E#7E286E
#7E286E is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.3% C 0.145 H 336.0°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).
Color values
| HEX | #7E286E |
|---|---|
| RGB | rgb(126, 40, 110) |
| HSL | hsl(311, 52%, 33%) |
| HSV | hsv(311, 68%, 49%) |
| CMYK | cmyk(0%, 68.3%, 12.7%, 50.6%) |
| CIE-LAB | lab(31.99, 45.22, -21.63) |
| CIE-LCH | lch(31.99, 50.13, 334.43°) |
| OKLab | oklab(43.27% 0.1322 -0.0588) |
| OKLCH | oklch(43.27% 0.145 336) |
| XYZ | xyz(12.1776, 7.0800, 15.4740) |
| Luminance | 0.0708 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 4.34
Grape
#6C3461
ΔE00 5.26
Bruise
#7E4071
ΔE00 5.61
Rich Purple
#720058
ΔE00 6.10
Purple
#800080
ΔE00 6.24
Velvet
#750851
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E286E #287E38
analogous
#63287E #7E286E #7E2843
triadic
#7E286E #6E7E28 #286E7E
tetradic
#7E286E #7E6328 #287E38 #28437E
square
#7E286E #7E6328 #287E38 #28437E
split-complementary
#7E286E #437E28 #287E63
monochromatic
#210B1D #501945 #7E286E #AC3797 #CA57B4
Accessibility & contrast
On white
8.69
#7E286E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#7E286E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E286E
8.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E286E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E286E | 1.00 | 8.69 | 2.42 | 8.69 |
| #FFFFFF | 8.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#294370
Deuteranopia (green-blind)
#45506C
Tritanopia (blue-blind)
#842D47
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #7e286e; /* rgb */ color: rgb(126, 40, 110); /* oklch */ color: oklch(43.3% 0.145 336.0);
Tailwind
colors: {
custom: {
50: '#a66998',
500: '#7e286e',
950: '#000000',
},
}SCSS
$custom: #7e286e; $custom-light: #a66998; $custom-dark: #000000;
JSON
{
"hex": "#7e286e",
"rgb": {
"r": 126,
"g": 40,
"b": 110
},
"hsl": {
"h": 311.163,
"s": 51.807,
"l": 32.549
},
"oklch": {
"l": 0.43267,
"c": 0.14473,
"h": 336
},
"luminance": 0.07079
}Semantic roles & 50–950 ramp
primary
#7E286E
secondary
#53AF64
accent
#DB674D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070D
muted
#7F7A7E