#7E284B#7E284B
#7E284B is a dark, vivid pink. Relative luminance 0.065; OKLCH L 41.7% C 0.123 H 358.8°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #7E284B |
|---|---|
| RGB | rgb(126, 40, 75) |
| HSL | hsl(336, 52%, 33%) |
| HSV | hsv(336, 68%, 49%) |
| CMYK | cmyk(0%, 68.3%, 40.5%, 50.6%) |
| CIE-LAB | lab(30.55, 40.28, -1.15) |
| CIE-LCH | lch(30.55, 40.30, 358.37°) |
| OKLab | oklab(41.74% 0.1232 -0.0025) |
| OKLCH | oklch(41.74% 0.123 358.8) |
| XYZ | xyz(10.6337, 6.4624, 7.3426) |
| Luminance | 0.0646 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 4.13
Wine (survey)
#80013F
ΔE00 4.70
Mulberry
#920A4E
ΔE00 4.74
Reddish Purple
#910951
ΔE00 4.86
Berry
#990F4B
ΔE00 5.74
Merlot
#730039
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E284B #287E5B
analogous
#7E2876 #7E284B #7E3028
triadic
#7E284B #4B7E28 #284B7E
tetradic
#7E284B #767E28 #287E5B #30287E
square
#7E284B #767E28 #287E5B #30287E
split-complementary
#7E284B #287E30 #28767E
monochromatic
#210B14 #50192F #7E284B #AC3767 #CA5786
Accessibility & contrast
On white
9.16
#7E284B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#7E284B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E284B
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E284B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E284B | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383E4C
Deuteranopia (green-blind)
#4F4E49
Tritanopia (blue-blind)
#881F36
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7e284b; /* rgb */ color: rgb(126, 40, 75); /* oklch */ color: oklch(41.7% 0.123 358.8);
Tailwind
colors: {
custom: {
50: '#a7687d',
500: '#7e284b',
950: '#000000',
},
}SCSS
$custom: #7e284b; $custom-light: #a7687d; $custom-dark: #000000;
JSON
{
"hex": "#7e284b",
"rgb": {
"r": 126,
"g": 40,
"b": 75
},
"hsl": {
"h": 335.581,
"s": 51.807,
"l": 32.549
},
"oklch": {
"l": 0.4174,
"c": 0.12327,
"h": 358.8
},
"luminance": 0.06461
}Semantic roles & 50–950 ramp
primary
#7E284B
secondary
#53AF89
accent
#DBA14D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B