#7E246D#7E246D
#7E246D is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.149 H 336.4°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #7E246D |
|---|---|
| RGB | rgb(126, 36, 109) |
| HSL | hsl(311, 56%, 32%) |
| HSV | hsv(311, 71%, 49%) |
| CMYK | cmyk(0%, 71.4%, 13.5%, 50.6%) |
| CIE-LAB | lab(31.35, 46.69, -21.98) |
| CIE-LCH | lch(31.35, 51.61, 334.79°) |
| OKLab | oklab(42.79% 0.1369 -0.0598) |
| OKLCH | oklch(42.79% 0.149 336.4) |
| XYZ | xyz(11.9956, 6.8026, 15.1463) |
| Luminance | 0.0680 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 3.95
Rich Purple
#720058
ΔE00 5.52
Grape
#6C3461
ΔE00 5.63
Purple
#800080
ΔE00 5.84
Velvet
#750851
ΔE00 6.27
Bruise
#7E4071
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E246D #247E35
analogous
#62247E #7E246D #7E2440
triadic
#7E246D #6D7E24 #246D7E
tetradic
#7E246D #7E6224 #247E35 #24407E
square
#7E246D #7E6224 #247E35 #24407E
split-complementary
#7E246D #407E24 #247E62
monochromatic
#1F091B #4E1644 #7E246D #AE3296 #CD50B5
Accessibility & contrast
On white
8.90
#7E246D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#7E246D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E246D
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E246D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E246D | 1.00 | 8.90 | 2.36 | 8.90 |
| #FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26416F
Deuteranopia (green-blind)
#434F6B
Tritanopia (blue-blind)
#852945
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #7e246d; /* rgb */ color: rgb(126, 36, 109); /* oklch */ color: oklch(42.8% 0.149 336.4);
Tailwind
colors: {
custom: {
50: '#a66797',
500: '#7e246d',
950: '#000000',
},
}SCSS
$custom: #7e246d; $custom-light: #a66797; $custom-dark: #000000;
JSON
{
"hex": "#7e246d",
"rgb": {
"r": 126,
"g": 36,
"b": 109
},
"hsl": {
"h": 311.333,
"s": 55.556,
"l": 31.765
},
"oklch": {
"l": 0.42789,
"c": 0.14944,
"h": 336.4
},
"luminance": 0.06801
}Semantic roles & 50–950 ramp
primary
#7E246D
secondary
#4EB060
accent
#DF6549
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E