#7E224E#7E224E
#7E224E is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.2% C 0.133 H 355.3°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #7E224E |
|---|---|
| RGB | rgb(126, 34, 78) |
| HSL | hsl(331, 58%, 31%) |
| HSV | hsv(331, 73%, 49%) |
| CMYK | cmyk(0%, 73%, 38.1%, 50.6%) |
| CIE-LAB | lab(29.74, 43.15, -4.32) |
| CIE-LCH | lch(29.74, 43.37, 354.28°) |
| OKLab | oklab(41.18% 0.1322 -0.0108) |
| OKLCH | oklch(41.18% 0.133 355.3) |
| XYZ | xyz(10.5520, 6.1310, 7.8340) |
| Luminance | 0.0613 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 3.10
Reddish Purple
#910951
ΔE00 4.01
Mulberry
#920A4E
ΔE00 4.31
Wine (survey)
#80013F
ΔE00 4.46
Dark Magenta
#960056
ΔE00 4.93
Merlot
#730039
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E224E #227E52
analogous
#7E227C #7E224E #7E2422
triadic
#7E224E #4E7E22 #224E7E
tetradic
#7E224E #7C7E22 #227E52 #24227E
square
#7E224E #7C7E22 #227E52 #24227E
split-complementary
#7E224E #227E24 #227C7E
monochromatic
#1E0812 #4E1530 #7E224E #AE2F6C #CF4C8A
Accessibility & contrast
On white
9.43
#7E224E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#7E224E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E224E
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E224E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E224E | 1.00 | 9.43 | 2.23 | 9.43 |
| #FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#333B4F
Deuteranopia (green-blind)
#4C4C4C
Tritanopia (blue-blind)
#881935
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7e224e; /* rgb */ color: rgb(126, 34, 78); /* oklch */ color: oklch(41.2% 0.133 355.3);
Tailwind
colors: {
custom: {
50: '#a7657f',
500: '#7e224e',
950: '#000000',
},
}SCSS
$custom: #7e224e; $custom-light: #a7657f; $custom-dark: #000000;
JSON
{
"hex": "#7e224e",
"rgb": {
"r": 126,
"g": 34,
"b": 78
},
"hsl": {
"h": 331.304,
"s": 57.5,
"l": 31.373
},
"oklch": {
"l": 0.41176,
"c": 0.13267,
"h": 355.3
},
"luminance": 0.0613
}Semantic roles & 50–950 ramp
primary
#7E224E
secondary
#4BB180
accent
#E19747
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C