#7A1E58#7A1E58
#7A1E58 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.140 H 346.5°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #7A1E58 |
|---|---|
| RGB | rgb(122, 30, 88) |
| HSL | hsl(322, 61%, 30%) |
| HSV | hsv(322, 75%, 48%) |
| CMYK | cmyk(0%, 75.4%, 27.9%, 52.2%) |
| CIE-LAB | lab(28.83, 44.78, -12.35) |
| CIE-LCH | lch(28.83, 46.45, 344.58°) |
| OKLab | oklab(40.5% 0.1359 -0.0327) |
| OKLCH | oklch(40.5% 0.14 346.5) |
| XYZ | xyz(10.2522, 5.7718, 9.8048) |
| Luminance | 0.0577 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.84
Rich Purple
#720058
ΔE00 4.48
Red Purple
#820747
ΔE00 5.45
Grape
#6C3461
ΔE00 5.91
Reddish Purple
#910951
ΔE00 6.00
Dark Magenta
#960056
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A1E58 #1E7A40
analogous
#6E1E7A #7A1E58 #7A1E2A
triadic
#7A1E58 #587A1E #1E587A
tetradic
#7A1E58 #7A6E1E #1E7A40 #1E2A7A
square
#7A1E58 #7A6E1E #1E7A40 #1E2A7A
split-complementary
#7A1E58 #2A7A1E #1E7A6E
monochromatic
#190612 #491235 #7A1E58 #AB2A7B #D0429C
Accessibility & contrast
On white
9.75
#7A1E58 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7A1E58 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A1E58
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A1E58 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A1E58 | 1.00 | 9.75 | 2.15 | 9.75 |
| #FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A3A5A
Deuteranopia (green-blind)
#464A56
Tritanopia (blue-blind)
#831B38
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7a1e58; /* rgb */ color: rgb(122, 30, 88); /* oklch */ color: oklch(40.5% 0.140 346.5);
Tailwind
colors: {
custom: {
50: '#a46387',
500: '#7a1e58',
950: '#000000',
},
}SCSS
$custom: #7a1e58; $custom-light: #a46387; $custom-dark: #000000;
JSON
{
"hex": "#7a1e58",
"rgb": {
"r": 122,
"g": 30,
"b": 88
},
"hsl": {
"h": 322.174,
"s": 60.526,
"l": 29.804
},
"oklch": {
"l": 0.40496,
"c": 0.13981,
"h": 346.5
},
"luminance": 0.05771
}Semantic roles & 50–950 ramp
primary
#7A1E58
secondary
#46AE6C
accent
#E47F44
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C