#7E2245#7E2245
#7E2245 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.9% C 0.129 H 1.6°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2245 |
|---|---|
| RGB | rgb(126, 34, 69) |
| HSL | hsl(337, 58%, 31%) |
| HSV | hsv(337, 73%, 49%) |
| CMYK | cmyk(0%, 73%, 45.2%, 50.6%) |
| CIE-LAB | lab(29.44, 42.14, 1.20) |
| CIE-LCH | lch(29.44, 42.16, 1.63°) |
| OKLab | oklab(40.86% 0.1291 0.0036) |
| OKLCH | oklch(40.86% 0.129 1.6) |
| XYZ | xyz(10.2512, 6.0106, 6.2494) |
| Luminance | 0.0601 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 3.48
Red Purple
#820747
ΔE00 3.65
Mulberry
#920A4E
ΔE00 4.51
Merlot
#730039
ΔE00 4.76
Reddish Purple
#910951
ΔE00 4.90
Berry
#990F4B
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2245 #227E5B
analogous
#7E2273 #7E2245 #7E2D22
triadic
#7E2245 #457E22 #22457E
tetradic
#7E2245 #737E22 #227E5B #2D227E
square
#7E2245 #737E22 #227E5B #2D227E
split-complementary
#7E2245 #227E2D #22737E
monochromatic
#1E0810 #4E152B #7E2245 #AE2F5F #CF4C7E
Accessibility & contrast
On white
9.54
#7E2245 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#7E2245 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2245
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2245 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2245 | 1.00 | 9.54 | 2.20 | 9.54 |
| #FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363A46
Deuteranopia (green-blind)
#4E4C43
Tritanopia (blue-blind)
#891531
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7e2245; /* rgb */ color: rgb(126, 34, 69); /* oklch */ color: oklch(40.9% 0.129 1.6);
Tailwind
colors: {
custom: {
50: '#a86578',
500: '#7e2245',
950: '#000000',
},
}SCSS
$custom: #7e2245; $custom-light: #a86578; $custom-dark: #000000;
JSON
{
"hex": "#7e2245",
"rgb": {
"r": 126,
"g": 34,
"b": 69
},
"hsl": {
"h": 337.174,
"s": 57.5,
"l": 31.373
},
"oklch": {
"l": 0.40856,
"c": 0.12913,
"h": 1.6
},
"luminance": 0.06009
}Semantic roles & 50–950 ramp
primary
#7E2245
secondary
#4BB18A
accent
#E1A647
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B