#7E245A#7E245A
#7E245A is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.9% C 0.136 H 347.7°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #7E245A |
|---|---|
| RGB | rgb(126, 36, 90) |
| HSL | hsl(324, 56%, 32%) |
| HSV | hsv(324, 71%, 49%) |
| CMYK | cmyk(0%, 71.4%, 28.6%, 50.6%) |
| CIE-LAB | lab(30.49, 43.88, -11.06) |
| CIE-LCH | lch(30.49, 45.25, 345.85°) |
| OKLab | oklab(41.88% 0.1332 -0.0291) |
| OKLCH | oklch(41.88% 0.136 347.7) |
| XYZ | xyz(11.0810, 6.4367, 10.3297) |
| Luminance | 0.0644 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 4.17
Red Purple
#820747
ΔE00 5.41
Reddish Purple
#910951
ΔE00 5.43
Dark Magenta
#960056
ΔE00 5.57
Grape
#6C3461
ΔE00 5.82
Rich Purple
#720058
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E245A #247E48
analogous
#75247E #7E245A #7E242D
triadic
#7E245A #5A7E24 #245A7E
tetradic
#7E245A #7E7524 #247E48 #242D7E
square
#7E245A #7E7524 #247E48 #242D7E
split-complementary
#7E245A #2D7E24 #247E75
monochromatic
#1F0916 #4E1638 #7E245A #AE327C #CD509B
Accessibility & contrast
On white
9.18
#7E245A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#7E245A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E245A
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E245A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E245A | 1.00 | 9.18 | 2.29 | 9.18 |
| #FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#303E5C
Deuteranopia (green-blind)
#4A4D58
Tritanopia (blue-blind)
#87213B
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7e245a; /* rgb */ color: rgb(126, 36, 90); /* oklch */ color: oklch(41.9% 0.136 347.7);
Tailwind
colors: {
custom: {
50: '#a76688',
500: '#7e245a',
950: '#000000',
},
}SCSS
$custom: #7e245a; $custom-light: #a76688; $custom-dark: #000000;
JSON
{
"hex": "#7e245a",
"rgb": {
"r": 126,
"g": 36,
"b": 90
},
"hsl": {
"h": 324,
"s": 55.556,
"l": 31.765
},
"oklch": {
"l": 0.41876,
"c": 0.13638,
"h": 347.7
},
"luminance": 0.06436
}Semantic roles & 50–950 ramp
primary
#7E245A
secondary
#4EB075
accent
#DF8549
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C