#7E286A#7E286A
#7E286A is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.1% C 0.142 H 338.3°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).
Color values
| HEX | #7E286A |
|---|---|
| RGB | rgb(126, 40, 106) |
| HSL | hsl(314, 52%, 33%) |
| HSV | hsv(314, 68%, 49%) |
| CMYK | cmyk(0%, 68.3%, 15.9%, 50.6%) |
| CIE-LAB | lab(31.80, 44.57, -19.38) |
| CIE-LCH | lch(31.80, 48.60, 336.50°) |
| OKLab | oklab(43.06% 0.1316 -0.0524) |
| OKLCH | oklch(43.06% 0.142 338.3) |
| XYZ | xyz(11.9647, 6.9949, 14.3529) |
| Luminance | 0.0699 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Grape
#6C3461
ΔE00 4.89
Darkish Purple
#751973
ΔE00 5.09
Bruise
#7E4071
ΔE00 5.46
Rich Purple
#720058
ΔE00 5.82
Velvet
#750851
ΔE00 6.04
Red Violet
#9E0168
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E286A #287E3C
analogous
#67287E #7E286A #7E283F
triadic
#7E286A #6A7E28 #286A7E
tetradic
#7E286A #7E6728 #287E3C #283F7E
square
#7E286A #7E6728 #287E3C #283F7E
split-complementary
#7E286A #3F7E28 #287E67
monochromatic
#210B1C #501943 #7E286A #AC3791 #CA57AF
Accessibility & contrast
On white
8.75
#7E286A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#7E286A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E286A
8.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E286A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E286A | 1.00 | 8.75 | 2.40 | 8.75 |
| #FFFFFF | 8.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B426C
Deuteranopia (green-blind)
#465068
Tritanopia (blue-blind)
#852B45
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #7e286a; /* rgb */ color: rgb(126, 40, 106); /* oklch */ color: oklch(43.1% 0.142 338.3);
Tailwind
colors: {
custom: {
50: '#a66995',
500: '#7e286a',
950: '#000000',
},
}SCSS
$custom: #7e286a; $custom-light: #a66995; $custom-dark: #000000;
JSON
{
"hex": "#7e286a",
"rgb": {
"r": 126,
"g": 40,
"b": 106
},
"hsl": {
"h": 313.953,
"s": 51.807,
"l": 32.549
},
"oklch": {
"l": 0.43063,
"c": 0.14166,
"h": 338.3
},
"luminance": 0.06994
}Semantic roles & 50–950 ramp
primary
#7E286A
secondary
#53AF68
accent
#DB6E4D
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10070D
muted
#7F7A7E