#7E1259#7E1259
#7E1259 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.3% C 0.156 H 346.6°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1259 |
|---|---|
| RGB | rgb(126, 18, 89) |
| HSL | hsl(321, 75%, 28%) |
| HSV | hsv(321, 86%, 49%) |
| CMYK | cmyk(0%, 85.7%, 29.4%, 50.6%) |
| CIE-LAB | lab(28.36, 49.67, -13.67) |
| CIE-LCH | lch(28.36, 51.51, 344.62°) |
| OKLab | oklab(40.31% 0.1515 -0.0362) |
| OKLCH | oklch(40.31% 0.156 346.6) |
| XYZ | xyz(10.6242, 5.5907, 9.9689) |
| Luminance | 0.0559 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.23
Rich Purple
#720058
ΔE00 3.68
Red Purple
#820747
ΔE00 5.34
Dark Magenta
#960056
ΔE00 5.64
Reddish Purple
#910951
ΔE00 5.72
Red Violet
#9E0168
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1259 #127E37
analogous
#6D127E #7E1259 #7E1223
triadic
#7E1259 #597E12 #12597E
tetradic
#7E1259 #7E6D12 #127E37 #12237E
square
#7E1259 #7E6D12 #127E37 #12237E
split-complementary
#7E1259 #237E12 #127E6D
monochromatic
#1B0413 #480A33 #7E1259 #B41A7F #E12AA2
Accessibility & contrast
On white
9.92
#7E1259 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#7E1259 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1259
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1259 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1259 | 1.00 | 9.92 | 2.12 | 9.92 |
| #FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#24375B
Deuteranopia (green-blind)
#454957
Tritanopia (blue-blind)
#870D35
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7e1259; /* rgb */ color: rgb(126, 18, 89); /* oklch */ color: oklch(40.3% 0.156 346.6);
Tailwind
colors: {
custom: {
50: '#a85f88',
500: '#7e1259',
950: '#000000',
},
}SCSS
$custom: #7e1259; $custom-light: #a85f88; $custom-dark: #000000;
JSON
{
"hex": "#7e1259",
"rgb": {
"r": 126,
"g": 18,
"b": 89
},
"hsl": {
"h": 320.556,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.4031,
"c": 0.15572,
"h": 346.6
},
"luminance": 0.0559
}Semantic roles & 50–950 ramp
primary
#7E1259
secondary
#38B462
accent
#F27636
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C