#7A1B52#7A1B52
#7A1B52 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.140 H 349.9°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #7A1B52 |
|---|---|
| RGB | rgb(122, 27, 82) |
| HSL | hsl(325, 64%, 29%) |
| HSV | hsv(325, 78%, 48%) |
| CMYK | cmyk(0%, 77.9%, 32.8%, 52.2%) |
| CIE-LAB | lab(28.20, 45.07, -9.36) |
| CIE-LCH | lch(28.20, 46.03, 348.27°) |
| OKLab | oklab(39.95% 0.1378 -0.0244) |
| OKLCH | oklch(39.95% 0.14 349.9) |
| XYZ | xyz(9.9415, 5.5318, 8.5252) |
| Luminance | 0.0553 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.82
Red Purple
#820747
ΔE00 4.00
Reddish Purple
#910951
ΔE00 5.08
Rich Purple
#720058
ΔE00 5.20
Dark Magenta
#960056
ΔE00 5.51
Wine (survey)
#80013F
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A1B52 #1B7A43
analogous
#731B7A #7A1B52 #7A1B23
triadic
#7A1B52 #527A1B #1B527A
tetradic
#7A1B52 #7A731B #1B7A43 #1B237A
square
#7A1B52 #7A731B #1B7A43 #1B237A
split-complementary
#7A1B52 #237A1B #1B7A73
monochromatic
#190611 #481030 #7A1B52 #AC2674 #D43C94
Accessibility & contrast
On white
9.97
#7A1B52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#7A1B52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A1B52
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A1B52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A1B52 | 1.00 | 9.97 | 2.11 | 9.97 |
| #FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B3853
Deuteranopia (green-blind)
#464950
Tritanopia (blue-blind)
#831534
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7a1b52; /* rgb */ color: rgb(122, 27, 82); /* oklch */ color: oklch(40.0% 0.140 349.9);
Tailwind
colors: {
custom: {
50: '#a46282',
500: '#7a1b52',
950: '#000000',
},
}SCSS
$custom: #7a1b52; $custom-light: #a46282; $custom-dark: #000000;
JSON
{
"hex": "#7a1b52",
"rgb": {
"r": 122,
"g": 27,
"b": 82
},
"hsl": {
"h": 325.263,
"s": 63.758,
"l": 29.216
},
"oklch": {
"l": 0.39954,
"c": 0.13992,
"h": 349.9
},
"luminance": 0.05531
}Semantic roles & 50–950 ramp
primary
#7A1B52
secondary
#43AE70
accent
#E78741
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C