#7E2250#7E2250
#7E2250 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.3% C 0.134 H 354.0°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2250 |
|---|---|
| RGB | rgb(126, 34, 80) |
| HSL | hsl(330, 58%, 31%) |
| HSV | hsv(330, 73%, 49%) |
| CMYK | cmyk(0%, 73%, 36.5%, 50.6%) |
| CIE-LAB | lab(29.81, 43.39, -5.53) |
| CIE-LCH | lch(29.81, 43.74, 352.74°) |
| OKLab | oklab(41.25% 0.1329 -0.0141) |
| OKLCH | oklch(41.25% 0.134 354) |
| XYZ | xyz(10.6248, 6.1601, 8.2174) |
| Luminance | 0.0616 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 3.33
Reddish Purple
#910951
ΔE00 4.07
Mulberry
#920A4E
ΔE00 4.51
Dark Magenta
#960056
ΔE00 4.86
Wine (survey)
#80013F
ΔE00 4.88
Velvet
#750851
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2250 #227E50
analogous
#7E227E #7E2250 #7E2222
triadic
#7E2250 #507E22 #22507E
tetradic
#7E2250 #7E7E22 #227E50 #22227E
square
#7E2250 #7E7E22 #227E50 #22227E
split-complementary
#7E2250 #227E22 #227E7E
monochromatic
#1E0813 #4E1531 #7E2250 #AE2F6F #CF4C8D
Accessibility & contrast
On white
9.41
#7E2250 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#7E2250 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2250
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2250 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2250 | 1.00 | 9.41 | 2.23 | 9.41 |
| #FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#323B51
Deuteranopia (green-blind)
#4C4C4E
Tritanopia (blue-blind)
#881A36
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7e2250; /* rgb */ color: rgb(126, 34, 80); /* oklch */ color: oklch(41.3% 0.134 354.0);
Tailwind
colors: {
custom: {
50: '#a76581',
500: '#7e2250',
950: '#000000',
},
}SCSS
$custom: #7e2250; $custom-light: #a76581; $custom-dark: #000000;
JSON
{
"hex": "#7e2250",
"rgb": {
"r": 126,
"g": 34,
"b": 80
},
"hsl": {
"h": 330,
"s": 57.5,
"l": 31.373
},
"oklch": {
"l": 0.41253,
"c": 0.13361,
"h": 354
},
"luminance": 0.06159
}Semantic roles & 50–950 ramp
primary
#7E2250
secondary
#4BB17E
accent
#E19447
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C