#7A2156#7A2156
#7A2156 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.7% C 0.135 H 348.1°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).
Color values
| HEX | #7A2156 |
|---|---|
| RGB | rgb(122, 33, 86) |
| HSL | hsl(324, 57%, 30%) |
| HSV | hsv(324, 73%, 48%) |
| CMYK | cmyk(0%, 73%, 29.5%, 52.2%) |
| CIE-LAB | lab(29.15, 43.36, -10.54) |
| CIE-LCH | lch(29.15, 44.63, 346.33°) |
| OKLab | oklab(40.71% 0.1319 -0.0277) |
| OKLCH | oklch(40.71% 0.135 348.1) |
| XYZ | xyz(10.2501, 5.8983, 9.4010) |
| Luminance | 0.0590 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.39
Red Purple
#820747
ΔE00 4.98
Rich Purple
#720058
ΔE00 5.33
Reddish Purple
#910951
ΔE00 5.61
Dark Magenta
#960056
ΔE00 5.91
Grape
#6C3461
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A2156 #217A45
analogous
#71217A #7A2156 #7A2129
triadic
#7A2156 #567A21 #21567A
tetradic
#7A2156 #7A7121 #217A45 #21297A
square
#7A2156 #7A7121 #217A45 #21297A
split-complementary
#7A2156 #297A21 #217A71
monochromatic
#1A0712 #4A1434 #7A2156 #AA2E78 #CD4897
Accessibility & contrast
On white
9.64
#7A2156 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#7A2156 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A2156
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A2156 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A2156 | 1.00 | 9.64 | 2.18 | 9.64 |
| #FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D3B57
Deuteranopia (green-blind)
#474A54
Tritanopia (blue-blind)
#831D38
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7a2156; /* rgb */ color: rgb(122, 33, 86); /* oklch */ color: oklch(40.7% 0.135 348.1);
Tailwind
colors: {
custom: {
50: '#a46485',
500: '#7a2156',
950: '#000000',
},
}SCSS
$custom: #7a2156; $custom-light: #a46485; $custom-dark: #000000;
JSON
{
"hex": "#7a2156",
"rgb": {
"r": 122,
"g": 33,
"b": 86
},
"hsl": {
"h": 324.27,
"s": 57.419,
"l": 30.392
},
"oklch": {
"l": 0.40706,
"c": 0.13475,
"h": 348.1
},
"luminance": 0.05897
}Semantic roles & 50–950 ramp
primary
#7A2156
secondary
#4AAD72
accent
#E18547
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C