#7A1F59#7A1F59
#7A1F59 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.6% C 0.139 H 346.0°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #7A1F59 |
|---|---|
| RGB | rgb(122, 31, 89) |
| HSL | hsl(322, 59%, 30%) |
| HSV | hsv(322, 75%, 48%) |
| CMYK | cmyk(0%, 74.6%, 27%, 52.2%) |
| CIE-LAB | lab(29.00, 44.54, -12.74) |
| CIE-LCH | lch(29.00, 46.33, 344.04°) |
| OKLab | oklab(40.64% 0.135 -0.0338) |
| OKLCH | oklch(40.64% 0.139 346) |
| XYZ | xyz(10.3196, 5.8399, 10.0330) |
| Luminance | 0.0584 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.00
Rich Purple
#720058
ΔE00 4.49
Red Purple
#820747
ΔE00 5.68
Grape
#6C3461
ΔE00 5.72
Reddish Purple
#910951
ΔE00 6.16
Dark Magenta
#960056
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A1F59 #1F7A40
analogous
#6D1F7A #7A1F59 #7A1F2C
triadic
#7A1F59 #597A1F #1F597A
tetradic
#7A1F59 #7A6D1F #1F7A40 #1F2C7A
square
#7A1F59 #7A6D1F #1F7A40 #1F2C7A
split-complementary
#7A1F59 #2C7A1F #1F7A6D
monochromatic
#180612 #491335 #7A1F59 #AB2B7D #CF449D
Accessibility & contrast
On white
9.69
#7A1F59 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#7A1F59 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A1F59
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A1F59 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A1F59 | 1.00 | 9.69 | 2.17 | 9.69 |
| #FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A3A5B
Deuteranopia (green-blind)
#464A57
Tritanopia (blue-blind)
#831D39
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7a1f59; /* rgb */ color: rgb(122, 31, 89); /* oklch */ color: oklch(40.6% 0.139 346.0);
Tailwind
colors: {
custom: {
50: '#a46488',
500: '#7a1f59',
950: '#000000',
},
}SCSS
$custom: #7a1f59; $custom-light: #a46488; $custom-dark: #000000;
JSON
{
"hex": "#7a1f59",
"rgb": {
"r": 122,
"g": 31,
"b": 89
},
"hsl": {
"h": 321.758,
"s": 59.477,
"l": 30
},
"oklch": {
"l": 0.40638,
"c": 0.13917,
"h": 346
},
"luminance": 0.05839
}Semantic roles & 50–950 ramp
primary
#7A1F59
secondary
#47AD6C
accent
#E37E45
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C