#7E246A#7E246A
#7E246A is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.6% C 0.147 H 338.1°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #7E246A |
|---|---|
| RGB | rgb(126, 36, 106) |
| HSL | hsl(313, 56%, 32%) |
| HSV | hsv(313, 71%, 49%) |
| CMYK | cmyk(0%, 71.4%, 15.9%, 50.6%) |
| CIE-LAB | lab(31.21, 46.22, -20.30) |
| CIE-LCH | lch(31.21, 50.48, 336.29°) |
| OKLab | oklab(42.63% 0.1365 -0.055) |
| OKLCH | oklch(42.63% 0.147 338.1) |
| XYZ | xyz(11.8368, 6.7391, 14.3102) |
| Luminance | 0.0674 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 4.54
Rich Purple
#720058
ΔE00 5.26
Grape
#6C3461
ΔE00 5.37
Velvet
#750851
ΔE00 5.73
Bruise
#7E4071
ΔE00 6.17
Purple
#800080
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E246A #247E38
analogous
#65247E #7E246A #7E243D
triadic
#7E246A #6A7E24 #246A7E
tetradic
#7E246A #7E6524 #247E38 #243D7E
square
#7E246A #7E6524 #247E38 #243D7E
split-complementary
#7E246A #3D7E24 #247E65
monochromatic
#1F091A #4E1642 #7E246A #AE3292 #CD50B1
Accessibility & contrast
On white
8.95
#7E246A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#7E246A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E246A
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E246A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E246A | 1.00 | 8.95 | 2.35 | 8.95 |
| #FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28406C
Deuteranopia (green-blind)
#454E68
Tritanopia (blue-blind)
#852844
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #7e246a; /* rgb */ color: rgb(126, 36, 106); /* oklch */ color: oklch(42.6% 0.147 338.1);
Tailwind
colors: {
custom: {
50: '#a66795',
500: '#7e246a',
950: '#000000',
},
}SCSS
$custom: #7e246a; $custom-light: #a66795; $custom-dark: #000000;
JSON
{
"hex": "#7e246a",
"rgb": {
"r": 126,
"g": 36,
"b": 106
},
"hsl": {
"h": 313.333,
"s": 55.556,
"l": 31.765
},
"oklch": {
"l": 0.42634,
"c": 0.14718,
"h": 338.1
},
"luminance": 0.06738
}Semantic roles & 50–950 ramp
primary
#7E246A
secondary
#4EB063
accent
#DF6A49
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E