#7A1E57#7A1E57
#7A1E57 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.139 H 347.1°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #7A1E57 |
|---|---|
| RGB | rgb(122, 30, 87) |
| HSL | hsl(323, 61%, 30%) |
| HSV | hsv(323, 75%, 48%) |
| CMYK | cmyk(0%, 75.4%, 28.7%, 52.2%) |
| CIE-LAB | lab(28.79, 44.65, -11.76) |
| CIE-LCH | lch(28.79, 46.17, 345.24°) |
| OKLab | oklab(40.45% 0.1357 -0.031) |
| OKLCH | oklch(40.45% 0.139 347.1) |
| XYZ | xyz(10.2111, 5.7554, 9.5881) |
| Luminance | 0.0575 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.85
Rich Purple
#720058
ΔE00 4.64
Red Purple
#820747
ΔE00 5.20
Reddish Purple
#910951
ΔE00 5.82
Dark Magenta
#960056
ΔE00 6.01
Grape
#6C3461
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A1E57 #1E7A41
analogous
#6F1E7A #7A1E57 #7A1E29
triadic
#7A1E57 #577A1E #1E577A
tetradic
#7A1E57 #7A6F1E #1E7A41 #1E297A
square
#7A1E57 #7A6F1E #1E7A41 #1E297A
split-complementary
#7A1E57 #297A1E #1E7A6F
monochromatic
#190612 #491234 #7A1E57 #AB2A7A #D0429A
Accessibility & contrast
On white
9.76
#7A1E57 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7A1E57 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A1E57
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A1E57 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A1E57 | 1.00 | 9.76 | 2.15 | 9.76 |
| #FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B3A59
Deuteranopia (green-blind)
#464A55
Tritanopia (blue-blind)
#831B37
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7a1e57; /* rgb */ color: rgb(122, 30, 87); /* oklch */ color: oklch(40.5% 0.139 347.1);
Tailwind
colors: {
custom: {
50: '#a46386',
500: '#7a1e57',
950: '#000000',
},
}SCSS
$custom: #7a1e57; $custom-light: #a46386; $custom-dark: #000000;
JSON
{
"hex": "#7a1e57",
"rgb": {
"r": 122,
"g": 30,
"b": 87
},
"hsl": {
"h": 322.826,
"s": 60.526,
"l": 29.804
},
"oklch": {
"l": 0.40451,
"c": 0.1392,
"h": 347.1
},
"luminance": 0.05754
}Semantic roles & 50–950 ramp
primary
#7A1E57
secondary
#46AE6E
accent
#E48144
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C