#7E284A#7E284A
#7E284A is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.7% C 0.123 H 359.6°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #7E284A |
|---|---|
| RGB | rgb(126, 40, 74) |
| HSL | hsl(336, 52%, 33%) |
| HSV | hsv(336, 68%, 49%) |
| CMYK | cmyk(0%, 68.3%, 41.3%, 50.6%) |
| CIE-LAB | lab(30.52, 40.16, -0.54) |
| CIE-LCH | lch(30.52, 40.17, 359.23°) |
| OKLab | oklab(41.71% 0.1229 -0.0009) |
| OKLCH | oklch(41.71% 0.123 359.6) |
| XYZ | xyz(10.5997, 6.4489, 7.1638) |
| Luminance | 0.0645 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 4.22
Wine (survey)
#80013F
ΔE00 4.64
Mulberry
#920A4E
ΔE00 4.79
Reddish Purple
#910951
ΔE00 4.98
Berry
#990F4B
ΔE00 5.66
Merlot
#730039
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E284A #287E5C
analogous
#7E2875 #7E284A #7E3128
triadic
#7E284A #4A7E28 #284A7E
tetradic
#7E284A #757E28 #287E5C #31287E
square
#7E284A #757E28 #287E5C #31287E
split-complementary
#7E284A #287E31 #28757E
monochromatic
#210B13 #50192F #7E284A #AC3765 #CA5784
Accessibility & contrast
On white
9.17
#7E284A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#7E284A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E284A
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E284A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E284A | 1.00 | 9.17 | 2.29 | 9.17 |
| #FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383D4B
Deuteranopia (green-blind)
#504E48
Tritanopia (blue-blind)
#881F36
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7e284a; /* rgb */ color: rgb(126, 40, 74); /* oklch */ color: oklch(41.7% 0.123 359.6);
Tailwind
colors: {
custom: {
50: '#a7687c',
500: '#7e284a',
950: '#000000',
},
}SCSS
$custom: #7e284a; $custom-light: #a7687c; $custom-dark: #000000;
JSON
{
"hex": "#7e284a",
"rgb": {
"r": 126,
"g": 40,
"b": 74
},
"hsl": {
"h": 336.279,
"s": 51.807,
"l": 32.549
},
"oklch": {
"l": 0.41706,
"c": 0.12288,
"h": 359.6
},
"luminance": 0.06448
}Semantic roles & 50–950 ramp
primary
#7E284A
secondary
#53AF8A
accent
#DBA34D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B