#7E1251#7E1251
#7E1251 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.151 H 351.2°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1251 |
|---|---|
| RGB | rgb(126, 18, 81) |
| HSL | hsl(325, 75%, 28%) |
| HSV | hsv(325, 86%, 49%) |
| CMYK | cmyk(0%, 85.7%, 35.7%, 50.6%) |
| CIE-LAB | lab(28.02, 48.70, -8.89) |
| CIE-LCH | lch(28.02, 49.51, 349.65°) |
| OKLab | oklab(39.95% 0.1496 -0.0231) |
| OKLCH | oklch(39.95% 0.151 351.2) |
| XYZ | xyz(10.3063, 5.4636, 8.2948) |
| Luminance | 0.0546 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.76
Red Purple
#820747
ΔE00 3.21
Reddish Purple
#910951
ΔE00 4.26
Dark Magenta
#960056
ΔE00 4.66
Mulberry
#920A4E
ΔE00 5.05
Wine (survey)
#80013F
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1251 #127E3F
analogous
#75127E #7E1251 #7E121B
triadic
#7E1251 #517E12 #12517E
tetradic
#7E1251 #7E7512 #127E3F #121B7E
square
#7E1251 #7E7512 #127E3F #121B7E
split-complementary
#7E1251 #1B7E12 #127E75
monochromatic
#1B0411 #480A2F #7E1251 #B41A73 #E12A94
Accessibility & contrast
On white
10.04
#7E1251 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#7E1251 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1251
10.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1251 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1251 | 1.00 | 10.04 | 2.09 | 10.04 |
| #FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#283653
Deuteranopia (green-blind)
#47494F
Tritanopia (blue-blind)
#880531
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7e1251; /* rgb */ color: rgb(126, 18, 81); /* oklch */ color: oklch(40.0% 0.151 351.2);
Tailwind
colors: {
custom: {
50: '#a85f81',
500: '#7e1251',
950: '#000000',
},
}SCSS
$custom: #7e1251; $custom-light: #a85f81; $custom-dark: #000000;
JSON
{
"hex": "#7e1251",
"rgb": {
"r": 126,
"g": 18,
"b": 81
},
"hsl": {
"h": 325,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.39954,
"c": 0.15135,
"h": 351.2
},
"luminance": 0.05462
}Semantic roles & 50–950 ramp
primary
#7E1251
secondary
#38B46C
accent
#F28436
background
#FAF5F7
surface
#F4EAEE
border
#CEC6C9
text
#10050A
muted
#7F797C