#7E1260#7E1260
#7E1260 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.6% C 0.160 H 342.7°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1260 |
|---|---|
| RGB | rgb(126, 18, 96) |
| HSL | hsl(317, 75%, 28%) |
| HSV | hsv(317, 86%, 49%) |
| CMYK | cmyk(0%, 85.7%, 23.8%, 50.6%) |
| CIE-LAB | lab(28.68, 50.58, -17.75) |
| CIE-LCH | lch(28.68, 53.60, 340.66°) |
| OKLab | oklab(40.65% 0.1527 -0.0477) |
| OKLCH | oklch(40.65% 0.16 342.7) |
| XYZ | xyz(10.9322, 5.7140, 11.5912) |
| Luminance | 0.0571 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 3.10
Velvet
#750851
ΔE00 3.22
Darkish Purple
#751973
ΔE00 5.60
Red Violet
#9E0168
ΔE00 6.21
Grape Purple
#5D1451
ΔE00 6.58
Dark Magenta
#960056
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1260 #127E30
analogous
#66127E #7E1260 #7E122A
triadic
#7E1260 #607E12 #12607E
tetradic
#7E1260 #7E6612 #127E30 #122A7E
square
#7E1260 #7E6612 #127E30 #122A7E
split-complementary
#7E1260 #2A7E12 #127E66
monochromatic
#1B0414 #480A37 #7E1260 #B41A89 #E12AAE
Accessibility & contrast
On white
9.80
#7E1260 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#7E1260 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1260
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1260 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1260 | 1.00 | 9.80 | 2.14 | 9.80 |
| #FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#203962
Deuteranopia (green-blind)
#424A5E
Tritanopia (blue-blind)
#871339
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e1260; /* rgb */ color: rgb(126, 18, 96); /* oklch */ color: oklch(40.6% 0.160 342.7);
Tailwind
colors: {
custom: {
50: '#a7608d',
500: '#7e1260',
950: '#000000',
},
}SCSS
$custom: #7e1260; $custom-light: #a7608d; $custom-dark: #000000;
JSON
{
"hex": "#7e1260",
"rgb": {
"r": 126,
"g": 18,
"b": 96
},
"hsl": {
"h": 316.667,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.40649,
"c": 0.15996,
"h": 342.7
},
"luminance": 0.05713
}Semantic roles & 50–950 ramp
primary
#7E1260
secondary
#38B45A
accent
#F26A36
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D