#7E225A#7E225A
#7E225A is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.139 H 347.4°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #7E225A |
|---|---|
| RGB | rgb(126, 34, 90) |
| HSL | hsl(323, 58%, 31%) |
| HSV | hsv(323, 73%, 49%) |
| CMYK | cmyk(0%, 73%, 28.6%, 50.6%) |
| CIE-LAB | lab(30.20, 44.67, -11.50) |
| CIE-LCH | lch(30.20, 46.13, 345.57°) |
| OKLab | oklab(41.67% 0.1357 -0.0303) |
| OKLCH | oklch(41.67% 0.139 347.4) |
| XYZ | xyz(11.0222, 6.3190, 10.3101) |
| Luminance | 0.0632 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.85
Red Purple
#820747
ΔE00 5.36
Reddish Purple
#910951
ΔE00 5.43
Rich Purple
#720058
ΔE00 5.51
Dark Magenta
#960056
ΔE00 5.53
Grape
#6C3461
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E225A #227E46
analogous
#74227E #7E225A #7E222C
triadic
#7E225A #5A7E22 #225A7E
tetradic
#7E225A #7E7422 #227E46 #222C7E
square
#7E225A #7E7422 #227E46 #222C7E
split-complementary
#7E225A #2C7E22 #227E74
monochromatic
#1E0815 #4E1538 #7E225A #AE2F7C #CF4C9B
Accessibility & contrast
On white
9.28
#7E225A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#7E225A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E225A
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E225A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E225A | 1.00 | 9.28 | 2.26 | 9.28 |
| #FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E3D5C
Deuteranopia (green-blind)
#494D58
Tritanopia (blue-blind)
#871F3B
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7e225a; /* rgb */ color: rgb(126, 34, 90); /* oklch */ color: oklch(41.7% 0.139 347.4);
Tailwind
colors: {
custom: {
50: '#a76588',
500: '#7e225a',
950: '#000000',
},
}SCSS
$custom: #7e225a; $custom-light: #a76588; $custom-dark: #000000;
JSON
{
"hex": "#7e225a",
"rgb": {
"r": 126,
"g": 34,
"b": 90
},
"hsl": {
"h": 323.478,
"s": 57.5,
"l": 31.373
},
"oklch": {
"l": 0.41668,
"c": 0.13904,
"h": 347.4
},
"luminance": 0.06318
}Semantic roles & 50–950 ramp
primary
#7E225A
secondary
#4BB173
accent
#E18347
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C