#7E225E#7E225E
#7E225E is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.8% C 0.142 H 344.9°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).
Color values
| HEX | #7E225E |
|---|---|
| RGB | rgb(126, 34, 94) |
| HSL | hsl(321, 58%, 31%) |
| HSV | hsv(321, 73%, 49%) |
| CMYK | cmyk(0%, 73%, 25.4%, 50.6%) |
| CIE-LAB | lab(30.37, 45.22, -13.84) |
| CIE-LCH | lch(30.37, 47.29, 342.98°) |
| OKLab | oklab(41.85% 0.1367 -0.0368) |
| OKLCH | oklch(41.85% 0.142 344.9) |
| XYZ | xyz(11.1970, 6.3890, 11.2310) |
| Luminance | 0.0639 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.95
Rich Purple
#720058
ΔE00 5.03
Grape
#6C3461
ΔE00 5.55
Red Violet
#9E0168
ΔE00 5.99
Dark Magenta
#960056
ΔE00 6.12
Reddish Purple
#910951
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E225E #227E42
analogous
#70227E #7E225E #7E2230
triadic
#7E225E #5E7E22 #225E7E
tetradic
#7E225E #7E7022 #227E42 #22307E
square
#7E225E #7E7022 #227E42 #22307E
split-complementary
#7E225E #307E22 #227E70
monochromatic
#1E0816 #4E153A #7E225E #AE2F82 #CF4CA1
Accessibility & contrast
On white
9.22
#7E225E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#7E225E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E225E
9.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E225E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E225E | 1.00 | 9.22 | 2.28 | 9.22 |
| #FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C3E60
Deuteranopia (green-blind)
#484D5C
Tritanopia (blue-blind)
#87213D
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7e225e; /* rgb */ color: rgb(126, 34, 94); /* oklch */ color: oklch(41.8% 0.142 344.9);
Tailwind
colors: {
custom: {
50: '#a7668b',
500: '#7e225e',
950: '#000000',
},
}SCSS
$custom: #7e225e; $custom-light: #a7668b; $custom-dark: #000000;
JSON
{
"hex": "#7e225e",
"rgb": {
"r": 126,
"g": 34,
"b": 94
},
"hsl": {
"h": 320.87,
"s": 57.5,
"l": 31.373
},
"oklch": {
"l": 0.41847,
"c": 0.14152,
"h": 344.9
},
"luminance": 0.06388
}Semantic roles & 50–950 ramp
primary
#7E225E
secondary
#4BB16E
accent
#E17D47
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D