#7A1957#7A1957
#7A1957 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.145 H 346.6°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).
Color values
| HEX | #7A1957 |
|---|---|
| RGB | rgb(122, 25, 87) |
| HSL | hsl(322, 66%, 29%) |
| HSV | hsv(322, 80%, 48%) |
| CMYK | cmyk(0%, 79.5%, 28.7%, 52.2%) |
| CIE-LAB | lab(28.17, 46.38, -12.70) |
| CIE-LCH | lch(28.17, 48.09, 344.69°) |
| OKLab | oklab(40% 0.1411 -0.0336) |
| OKLCH | oklch(40% 0.145 346.6) |
| XYZ | xyz(10.0944, 5.5221, 9.5492) |
| Luminance | 0.0552 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.17
Rich Purple
#720058
ΔE00 3.92
Red Purple
#820747
ΔE00 5.28
Reddish Purple
#910951
ΔE00 5.97
Dark Magenta
#960056
ΔE00 6.08
Grape
#6C3461
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A1957 #197A3C
analogous
#6D197A #7A1957 #7A1927
triadic
#7A1957 #577A19 #19577A
tetradic
#7A1957 #7A6D19 #197A3C #19277A
square
#7A1957 #7A6D19 #197A3C #19277A
split-complementary
#7A1957 #277A19 #197A6D
monochromatic
#190512 #470F33 #7A1957 #AD237B #D6379D
Accessibility & contrast
On white
9.98
#7A1957 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#7A1957 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A1957
9.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A1957 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A1957 | 1.00 | 9.98 | 2.10 | 9.98 |
| #FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#273859
Deuteranopia (green-blind)
#444855
Tritanopia (blue-blind)
#831636
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7a1957; /* rgb */ color: rgb(122, 25, 87); /* oklch */ color: oklch(40.0% 0.145 346.6);
Tailwind
colors: {
custom: {
50: '#a46186',
500: '#7a1957',
950: '#000000',
},
}SCSS
$custom: #7a1957; $custom-light: #a46186; $custom-dark: #000000;
JSON
{
"hex": "#7a1957",
"rgb": {
"r": 122,
"g": 25,
"b": 87
},
"hsl": {
"h": 321.649,
"s": 65.986,
"l": 28.824
},
"oklch": {
"l": 0.40004,
"c": 0.14504,
"h": 346.6
},
"luminance": 0.05521
}Semantic roles & 50–950 ramp
primary
#7A1957
secondary
#40AF68
accent
#E97C3F
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C