#7E1F52#7E1F52
#7E1F52 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.0% C 0.138 H 352.1°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1F52 |
|---|---|
| RGB | rgb(126, 31, 82) |
| HSL | hsl(328, 61%, 31%) |
| HSV | hsv(328, 75%, 49%) |
| CMYK | cmyk(0%, 75.4%, 34.9%, 50.6%) |
| CIE-LAB | lab(29.48, 44.78, -7.35) |
| CIE-LCH | lch(29.48, 45.38, 350.68°) |
| OKLab | oklab(41.03% 0.1371 -0.019) |
| OKLCH | oklch(41.03% 0.138 352.1) |
| XYZ | xyz(10.6178, 6.0260, 8.5850) |
| Luminance | 0.0602 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 3.47
Velvet
#750851
ΔE00 4.14
Reddish Purple
#910951
ΔE00 4.15
Dark Magenta
#960056
ΔE00 4.73
Mulberry
#920A4E
ΔE00 4.79
Wine (survey)
#80013F
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1F52 #1F7E4B
analogous
#7A1F7E #7E1F52 #7E1F23
triadic
#7E1F52 #527E1F #1F527E
tetradic
#7E1F52 #7E7A1F #1F7E4B #1F237E
square
#7E1F52 #7E7A1F #1F7E4B #1F237E
split-complementary
#7E1F52 #237E1F #1F7E7A
monochromatic
#1C0712 #4D1332 #7E1F52 #AF2B72 #D14691
Accessibility & contrast
On white
9.52
#7E1F52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#7E1F52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1F52
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1F52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1F52 | 1.00 | 9.52 | 2.21 | 9.52 |
| #FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F3B53
Deuteranopia (green-blind)
#4A4C50
Tritanopia (blue-blind)
#881835
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7e1f52; /* rgb */ color: rgb(126, 31, 82); /* oklch */ color: oklch(41.0% 0.138 352.1);
Tailwind
colors: {
custom: {
50: '#a76482',
500: '#7e1f52',
950: '#000000',
},
}SCSS
$custom: #7e1f52; $custom-light: #a76482; $custom-dark: #000000;
JSON
{
"hex": "#7e1f52",
"rgb": {
"r": 126,
"g": 31,
"b": 82
},
"hsl": {
"h": 327.789,
"s": 60.51,
"l": 30.784
},
"oklch": {
"l": 0.41032,
"c": 0.13839,
"h": 352.1
},
"luminance": 0.06025
}Semantic roles & 50–950 ramp
primary
#7E1F52
secondary
#48B179
accent
#E48E44
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C