#7E284E#7E284E
#7E284E is a dark, vivid pink. Relative luminance 0.065; OKLCH L 41.8% C 0.125 H 356.6°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #7E284E |
|---|---|
| RGB | rgb(126, 40, 78) |
| HSL | hsl(333, 52%, 33%) |
| HSV | hsv(333, 68%, 49%) |
| CMYK | cmyk(0%, 68.3%, 38.1%, 50.6%) |
| CIE-LAB | lab(30.65, 40.64, -2.97) |
| CIE-LCH | lch(30.65, 40.74, 355.82°) |
| OKLab | oklab(41.85% 0.1243 -0.0073) |
| OKLCH | oklch(41.85% 0.125 356.6) |
| XYZ | xyz(10.7388, 6.5045, 7.8962) |
| Luminance | 0.0650 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 4.05
Reddish Purple
#910951
ΔE00 4.63
Mulberry
#920A4E
ΔE00 4.73
Wine (survey)
#80013F
ΔE00 5.02
Dark Magenta
#960056
ΔE00 5.60
Berry
#990F4B
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E284E #287E58
analogous
#7E2879 #7E284E #7E2D28
triadic
#7E284E #4E7E28 #284E7E
tetradic
#7E284E #797E28 #287E58 #2D287E
square
#7E284E #797E28 #287E58 #2D287E
split-complementary
#7E284E #287E2D #28797E
monochromatic
#210B14 #501931 #7E284E #AC376B #CA578A
Accessibility & contrast
On white
9.13
#7E284E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#7E284E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E284E
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E284E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E284E | 1.00 | 9.13 | 2.30 | 9.13 |
| #FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373E4F
Deuteranopia (green-blind)
#4F4E4C
Tritanopia (blue-blind)
#882037
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7e284e; /* rgb */ color: rgb(126, 40, 78); /* oklch */ color: oklch(41.8% 0.125 356.6);
Tailwind
colors: {
custom: {
50: '#a7687f',
500: '#7e284e',
950: '#000000',
},
}SCSS
$custom: #7e284e; $custom-light: #a7687f; $custom-dark: #000000;
JSON
{
"hex": "#7e284e",
"rgb": {
"r": 126,
"g": 40,
"b": 78
},
"hsl": {
"h": 333.488,
"s": 51.807,
"l": 32.549
},
"oklch": {
"l": 0.41848,
"c": 0.12451,
"h": 356.6
},
"luminance": 0.06503
}Semantic roles & 50–950 ramp
primary
#7E284E
secondary
#53AF86
accent
#DB9C4D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C