#7E2863#7E2863
#7E2863 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.7% C 0.137 H 342.5°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2863 |
|---|---|
| RGB | rgb(126, 40, 99) |
| HSL | hsl(319, 52%, 33%) |
| HSV | hsv(319, 68%, 49%) |
| CMYK | cmyk(0%, 68.3%, 21.4%, 50.6%) |
| CIE-LAB | lab(31.48, 43.49, -15.38) |
| CIE-LCH | lch(31.48, 46.13, 340.52°) |
| OKLab | oklab(42.72% 0.1302 -0.0412) |
| OKLCH | oklch(42.72% 0.137 342.5) |
| XYZ | xyz(11.6155, 6.8552, 12.5134) |
| Luminance | 0.0685 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Grape
#6C3461
ΔE00 4.73
Velvet
#750851
ΔE00 5.13
Bruise
#7E4071
ΔE00 5.65
Rich Purple
#720058
ΔE00 5.75
Red Violet
#9E0168
ΔE00 6.30
Darkish Purple
#751973
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2863 #287E43
analogous
#6E287E #7E2863 #7E2838
triadic
#7E2863 #637E28 #28637E
tetradic
#7E2863 #7E6E28 #287E43 #28387E
square
#7E2863 #7E6E28 #287E43 #28387E
split-complementary
#7E2863 #387E28 #287E6E
monochromatic
#210B1A #50193F #7E2863 #AC3787 #CA57A6
Accessibility & contrast
On white
8.86
#7E2863 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#7E2863 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2863
8.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2863 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2863 | 1.00 | 8.86 | 2.37 | 8.86 |
| #FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4165
Deuteranopia (green-blind)
#494F61
Tritanopia (blue-blind)
#862941
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #7e2863; /* rgb */ color: rgb(126, 40, 99); /* oklch */ color: oklch(42.7% 0.137 342.5);
Tailwind
colors: {
custom: {
50: '#a6698f',
500: '#7e2863',
950: '#000000',
},
}SCSS
$custom: #7e2863; $custom-light: #a6698f; $custom-dark: #000000;
JSON
{
"hex": "#7e2863",
"rgb": {
"r": 126,
"g": 40,
"b": 99
},
"hsl": {
"h": 318.837,
"s": 51.807,
"l": 32.549
},
"oklch": {
"l": 0.42724,
"c": 0.13658,
"h": 342.5
},
"luminance": 0.06854
}Semantic roles & 50–950 ramp
primary
#7E2863
secondary
#53AF70
accent
#DB794D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070C
muted
#7F7A7D