#7E2248#7E2248
#7E2248 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.0% C 0.130 H 359.5°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2248 |
|---|---|
| RGB | rgb(126, 34, 72) |
| HSL | hsl(335, 58%, 31%) |
| HSV | hsv(335, 73%, 49%) |
| CMYK | cmyk(0%, 73%, 42.9%, 50.6%) |
| CIE-LAB | lab(29.54, 42.47, -0.65) |
| CIE-LCH | lch(29.54, 42.47, 359.12°) |
| OKLab | oklab(40.96% 0.1302 -0.0012) |
| OKLCH | oklch(40.96% 0.13 359.5) |
| XYZ | xyz(10.3466, 6.0488, 6.7523) |
| Luminance | 0.0605 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 3.17
Wine (survey)
#80013F
ΔE00 3.57
Mulberry
#920A4E
ΔE00 4.22
Reddish Purple
#910951
ΔE00 4.40
Merlot
#730039
ΔE00 4.80
Berry
#990F4B
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2248 #227E58
analogous
#7E2276 #7E2248 #7E2A22
triadic
#7E2248 #487E22 #22487E
tetradic
#7E2248 #767E22 #227E58 #2A227E
square
#7E2248 #767E22 #227E58 #2A227E
split-complementary
#7E2248 #227E2A #22767E
monochromatic
#1E0811 #4E152C #7E2248 #AE2F64 #CF4C82
Accessibility & contrast
On white
9.50
#7E2248 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#7E2248 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2248
9.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2248 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2248 | 1.00 | 9.50 | 2.21 | 9.50 |
| #FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353A49
Deuteranopia (green-blind)
#4E4C46
Tritanopia (blue-blind)
#891632
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7e2248; /* rgb */ color: rgb(126, 34, 72); /* oklch */ color: oklch(41.0% 0.130 359.5);
Tailwind
colors: {
custom: {
50: '#a8657a',
500: '#7e2248',
950: '#000000',
},
}SCSS
$custom: #7e2248; $custom-light: #a8657a; $custom-dark: #000000;
JSON
{
"hex": "#7e2248",
"rgb": {
"r": 126,
"g": 34,
"b": 72
},
"hsl": {
"h": 335.217,
"s": 57.5,
"l": 31.373
},
"oklch": {
"l": 0.40958,
"c": 0.13019,
"h": 359.5
},
"luminance": 0.06048
}Semantic roles & 50–950 ramp
primary
#7E2248
secondary
#4BB187
accent
#E1A147
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B