#7E2756#7E2756
#7E2756 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.0% C 0.130 H 350.8°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2756 |
|---|---|
| RGB | rgb(126, 39, 86) |
| HSL | hsl(328, 53%, 32%) |
| HSV | hsv(328, 69%, 49%) |
| CMYK | cmyk(0%, 69%, 31.7%, 50.6%) |
| CIE-LAB | lab(30.78, 42.09, -8.01) |
| CIE-LCH | lch(30.78, 42.84, 349.22°) |
| OKLab | oklab(42.04% 0.1282 -0.0208) |
| OKLCH | oklch(42.04% 0.13 350.8) |
| XYZ | xyz(11.0100, 6.5597, 9.4886) |
| Luminance | 0.0656 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 4.76
Reddish Purple
#910951
ΔE00 4.91
Velvet
#750851
ΔE00 5.02
Dark Magenta
#960056
ΔE00 5.36
Mulberry
#920A4E
ΔE00 5.52
Dark Fuchsia
#9D0759
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2756 #277E4F
analogous
#7A277E #7E2756 #7E272B
triadic
#7E2756 #567E27 #27567E
tetradic
#7E2756 #7E7A27 #277E4F #272B7E
square
#7E2756 #7E7A27 #277E4F #272B7E
split-complementary
#7E2756 #2B7E27 #277E7A
monochromatic
#210A16 #4F1936 #7E2756 #AD3576 #CA5594
Accessibility & contrast
On white
9.08
#7E2756 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#7E2756 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2756
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2756 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2756 | 1.00 | 9.08 | 2.31 | 9.08 |
| #FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#343F57
Deuteranopia (green-blind)
#4C4E54
Tritanopia (blue-blind)
#87223B
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7e2756; /* rgb */ color: rgb(126, 39, 86); /* oklch */ color: oklch(42.0% 0.130 350.8);
Tailwind
colors: {
custom: {
50: '#a76885',
500: '#7e2756',
950: '#000000',
},
}SCSS
$custom: #7e2756; $custom-light: #a76885; $custom-dark: #000000;
JSON
{
"hex": "#7e2756",
"rgb": {
"r": 126,
"g": 39,
"b": 86
},
"hsl": {
"h": 327.586,
"s": 52.727,
"l": 32.353
},
"oklch": {
"l": 0.4204,
"c": 0.1299,
"h": 350.8
},
"luminance": 0.06559
}Semantic roles & 50–950 ramp
primary
#7E2756
secondary
#52AF7D
accent
#DC8E4C
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C