#7E2A67#7E2A67
#7E2A67 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.1% C 0.137 H 340.2°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2A67 |
|---|---|
| RGB | rgb(126, 42, 103) |
| HSL | hsl(316, 50%, 33%) |
| HSV | hsv(316, 67%, 49%) |
| CMYK | cmyk(0%, 66.7%, 18.3%, 50.6%) |
| CIE-LAB | lab(31.97, 43.23, -17.19) |
| CIE-LCH | lch(31.97, 46.52, 338.31°) |
| OKLab | oklab(43.15% 0.1284 -0.0463) |
| OKLCH | oklch(43.15% 0.137 340.2) |
| XYZ | xyz(11.8806, 7.0719, 13.5686) |
| Luminance | 0.0707 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Grape
#6C3461
ΔE00 4.52
Bruise
#7E4071
ΔE00 5.11
Velvet
#750851
ΔE00 5.83
Darkish Purple
#751973
ΔE00 6.03
Rich Purple
#720058
ΔE00 6.05
Red Violet
#9E0168
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2A67 #2A7E41
analogous
#6B2A7E #7E2A67 #7E2A3D
triadic
#7E2A67 #677E2A #2A677E
tetradic
#7E2A67 #7E6B2A #2A7E41 #2A3D7E
square
#7E2A67 #7E6B2A #2A7E41 #2A3D7E
split-complementary
#7E2A67 #3D7E2A #2A7E6B
monochromatic
#220B1C #501B41 #7E2A67 #AC398D #C85AAA
Accessibility & contrast
On white
8.70
#7E2A67 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#7E2A67 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2A67
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2A67 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2A67 | 1.00 | 8.70 | 2.41 | 8.70 |
| #FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4369
Deuteranopia (green-blind)
#485065
Tritanopia (blue-blind)
#852C44
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #7e2a67; /* rgb */ color: rgb(126, 42, 103); /* oklch */ color: oklch(43.1% 0.137 340.2);
Tailwind
colors: {
custom: {
50: '#a66a92',
500: '#7e2a67',
950: '#000000',
},
}SCSS
$custom: #7e2a67; $custom-light: #a66a92; $custom-dark: #000000;
JSON
{
"hex": "#7e2a67",
"rgb": {
"r": 126,
"g": 42,
"b": 103
},
"hsl": {
"h": 316.429,
"s": 50,
"l": 32.941
},
"oklch": {
"l": 0.43145,
"c": 0.13651,
"h": 340.2
},
"luminance": 0.07071
}Semantic roles & 50–950 ramp
primary
#7E2A67
secondary
#56AE6E
accent
#DA744E
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10070D
muted
#7F7A7E