#7E286D#7E286D
#7E286D is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.2% C 0.144 H 336.6°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #7E286D |
|---|---|
| RGB | rgb(126, 40, 109) |
| HSL | hsl(312, 52%, 33%) |
| HSV | hsv(312, 68%, 49%) |
| CMYK | cmyk(0%, 68.3%, 13.5%, 50.6%) |
| CIE-LAB | lab(31.94, 45.05, -21.07) |
| CIE-LCH | lch(31.94, 49.74, 334.94°) |
| OKLab | oklab(43.22% 0.1321 -0.0572) |
| OKLCH | oklch(43.22% 0.144 336.6) |
| XYZ | xyz(12.1235, 7.0584, 15.1889) |
| Luminance | 0.0706 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 4.51
Grape
#6C3461
ΔE00 5.15
Bruise
#7E4071
ΔE00 5.56
Rich Purple
#720058
ΔE00 6.02
Purple
#800080
ΔE00 6.44
Velvet
#750851
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E286D #287E39
analogous
#64287E #7E286D #7E2842
triadic
#7E286D #6D7E28 #286D7E
tetradic
#7E286D #7E6428 #287E39 #28427E
square
#7E286D #7E6428 #287E39 #28427E
split-complementary
#7E286D #427E28 #287E64
monochromatic
#210B1D #501945 #7E286D #AC3795 #CA57B3
Accessibility & contrast
On white
8.71
#7E286D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#7E286D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E286D
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E286D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E286D | 1.00 | 8.71 | 2.41 | 8.71 |
| #FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A436F
Deuteranopia (green-blind)
#45506B
Tritanopia (blue-blind)
#852D47
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #7e286d; /* rgb */ color: rgb(126, 40, 109); /* oklch */ color: oklch(43.2% 0.144 336.6);
Tailwind
colors: {
custom: {
50: '#a66997',
500: '#7e286d',
950: '#000000',
},
}SCSS
$custom: #7e286d; $custom-light: #a66997; $custom-dark: #000000;
JSON
{
"hex": "#7e286d",
"rgb": {
"r": 126,
"g": 40,
"b": 109
},
"hsl": {
"h": 311.86,
"s": 51.807,
"l": 32.549
},
"oklch": {
"l": 0.43215,
"c": 0.14395,
"h": 336.6
},
"luminance": 0.07057
}Semantic roles & 50–950 ramp
primary
#7E286D
secondary
#53AF65
accent
#DB694D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070D
muted
#7F7A7E