#7E2252#7E2252
#7E2252 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.3% C 0.135 H 352.6°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2252 |
|---|---|
| RGB | rgb(126, 34, 82) |
| HSL | hsl(329, 58%, 31%) |
| HSV | hsv(329, 73%, 49%) |
| CMYK | cmyk(0%, 73%, 34.9%, 50.6%) |
| CIE-LAB | lab(29.89, 43.64, -6.74) |
| CIE-LCH | lch(29.89, 44.15, 351.22°) |
| OKLab | oklab(41.33% 0.1335 -0.0173) |
| OKLCH | oklch(41.33% 0.135 352.6) |
| XYZ | xyz(10.6998, 6.1901, 8.6123) |
| Luminance | 0.0619 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 3.65
Reddish Purple
#910951
ΔE00 4.23
Velvet
#750851
ΔE00 4.65
Mulberry
#920A4E
ΔE00 4.79
Dark Magenta
#960056
ΔE00 4.87
Wine (survey)
#80013F
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2252 #227E4E
analogous
#7C227E #7E2252 #7E2224
triadic
#7E2252 #527E22 #22527E
tetradic
#7E2252 #7E7C22 #227E4E #22247E
square
#7E2252 #7E7C22 #227E4E #22247E
split-complementary
#7E2252 #247E22 #227E7C
monochromatic
#1E0813 #4E1533 #7E2252 #AE2F71 #CF4C90
Accessibility & contrast
On white
9.38
#7E2252 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#7E2252 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2252
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2252 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2252 | 1.00 | 9.38 | 2.24 | 9.38 |
| #FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#323C53
Deuteranopia (green-blind)
#4B4C50
Tritanopia (blue-blind)
#881B37
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7e2252; /* rgb */ color: rgb(126, 34, 82); /* oklch */ color: oklch(41.3% 0.135 352.6);
Tailwind
colors: {
custom: {
50: '#a76582',
500: '#7e2252',
950: '#000000',
},
}SCSS
$custom: #7e2252; $custom-light: #a76582; $custom-dark: #000000;
JSON
{
"hex": "#7e2252",
"rgb": {
"r": 126,
"g": 34,
"b": 82
},
"hsl": {
"h": 328.696,
"s": 57.5,
"l": 31.373
},
"oklch": {
"l": 0.41332,
"c": 0.13461,
"h": 352.6
},
"luminance": 0.06189
}Semantic roles & 50–950 ramp
primary
#7E2252
secondary
#4BB17C
accent
#E19147
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C