#7E225D#7E225D
#7E225D is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.8% C 0.141 H 345.5°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #7E225D |
|---|---|
| RGB | rgb(126, 34, 93) |
| HSL | hsl(322, 58%, 31%) |
| HSV | hsv(322, 73%, 49%) |
| CMYK | cmyk(0%, 73%, 26.2%, 50.6%) |
| CIE-LAB | lab(30.33, 45.08, -13.26) |
| CIE-LCH | lch(30.33, 46.99, 343.61°) |
| OKLab | oklab(41.8% 0.1364 -0.0352) |
| OKLCH | oklch(41.8% 0.141 345.5) |
| XYZ | xyz(11.1525, 6.3712, 10.9962) |
| Luminance | 0.0637 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.90
Rich Purple
#720058
ΔE00 5.13
Grape
#6C3461
ΔE00 5.63
Dark Magenta
#960056
ΔE00 5.96
Red Violet
#9E0168
ΔE00 5.99
Reddish Purple
#910951
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E225D #227E43
analogous
#71227E #7E225D #7E222F
triadic
#7E225D #5D7E22 #225D7E
tetradic
#7E225D #7E7122 #227E43 #222F7E
square
#7E225D #7E7122 #227E43 #222F7E
split-complementary
#7E225D #2F7E22 #227E71
monochromatic
#1E0816 #4E1539 #7E225D #AE2F81 #CF4CA0
Accessibility & contrast
On white
9.23
#7E225D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#7E225D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E225D
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E225D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E225D | 1.00 | 9.23 | 2.27 | 9.23 |
| #FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D3D5F
Deuteranopia (green-blind)
#484D5B
Tritanopia (blue-blind)
#87203C
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7e225d; /* rgb */ color: rgb(126, 34, 93); /* oklch */ color: oklch(41.8% 0.141 345.5);
Tailwind
colors: {
custom: {
50: '#a7668b',
500: '#7e225d',
950: '#000000',
},
}SCSS
$custom: #7e225d; $custom-light: #a7668b; $custom-dark: #000000;
JSON
{
"hex": "#7e225d",
"rgb": {
"r": 126,
"g": 34,
"b": 93
},
"hsl": {
"h": 321.522,
"s": 57.5,
"l": 31.373
},
"oklch": {
"l": 0.41802,
"c": 0.14089,
"h": 345.5
},
"luminance": 0.0637
}Semantic roles & 50–950 ramp
primary
#7E225D
secondary
#4BB170
accent
#E17E47
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D