#7A1B59#7A1B59
#7A1B59 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.3% C 0.144 H 345.6°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #7A1B59 |
|---|---|
| RGB | rgb(122, 27, 89) |
| HSL | hsl(321, 64%, 29%) |
| HSV | hsv(321, 78%, 48%) |
| CMYK | cmyk(0%, 77.9%, 27%, 52.2%) |
| CIE-LAB | lab(28.50, 45.98, -13.52) |
| CIE-LCH | lch(28.50, 47.93, 343.62°) |
| OKLab | oklab(40.27% 0.1395 -0.0359) |
| OKLCH | oklch(40.27% 0.144 345.6) |
| XYZ | xyz(10.2216, 5.6438, 10.0003) |
| Luminance | 0.0564 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.49
Rich Purple
#720058
ΔE00 3.88
Red Purple
#820747
ΔE00 5.74
Grape
#6C3461
ΔE00 6.09
Reddish Purple
#910951
ΔE00 6.27
Dark Magenta
#960056
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A1B59 #1B7A3C
analogous
#6C1B7A #7A1B59 #7A1B2A
triadic
#7A1B59 #597A1B #1B597A
tetradic
#7A1B59 #7A6C1B #1B7A3C #1B2A7A
square
#7A1B59 #7A6C1B #1B7A3C #1B2A7A
split-complementary
#7A1B59 #2A7A1B #1B7A6C
monochromatic
#190612 #481034 #7A1B59 #AC267E #D43C9F
Accessibility & contrast
On white
9.87
#7A1B59 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#7A1B59 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A1B59
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A1B59 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A1B59 | 1.00 | 9.87 | 2.13 | 9.87 |
| #FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27395B
Deuteranopia (green-blind)
#444957
Tritanopia (blue-blind)
#831937
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7a1b59; /* rgb */ color: rgb(122, 27, 89); /* oklch */ color: oklch(40.3% 0.144 345.6);
Tailwind
colors: {
custom: {
50: '#a46288',
500: '#7a1b59',
950: '#000000',
},
}SCSS
$custom: #7a1b59; $custom-light: #a46288; $custom-dark: #000000;
JSON
{
"hex": "#7a1b59",
"rgb": {
"r": 122,
"g": 27,
"b": 89
},
"hsl": {
"h": 320.842,
"s": 63.758,
"l": 29.216
},
"oklch": {
"l": 0.40267,
"c": 0.14401,
"h": 345.6
},
"luminance": 0.05643
}Semantic roles & 50–950 ramp
primary
#7A1B59
secondary
#43AE68
accent
#E77B41
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C