#7A1958#7A1958
#7A1958 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.1% C 0.146 H 346.0°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #7A1958 |
|---|---|
| RGB | rgb(122, 25, 88) |
| HSL | hsl(321, 66%, 29%) |
| HSV | hsv(321, 80%, 48%) |
| CMYK | cmyk(0%, 79.5%, 27.9%, 52.2%) |
| CIE-LAB | lab(28.22, 46.51, -13.29) |
| CIE-LCH | lch(28.22, 48.38, 344.06°) |
| OKLab | oklab(40.05% 0.1413 -0.0352) |
| OKLCH | oklch(40.05% 0.146 346) |
| XYZ | xyz(10.1356, 5.5385, 9.7659) |
| Luminance | 0.0554 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.21
Rich Purple
#720058
ΔE00 3.75
Red Purple
#820747
ΔE00 5.53
Reddish Purple
#910951
ΔE00 6.15
Dark Magenta
#960056
ΔE00 6.22
Grape
#6C3461
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A1958 #197A3B
analogous
#6C197A #7A1958 #7A1928
triadic
#7A1958 #587A19 #19587A
tetradic
#7A1958 #7A6C19 #197A3B #19287A
square
#7A1958 #7A6C19 #197A3B #19287A
split-complementary
#7A1958 #287A19 #197A6C
monochromatic
#190512 #470F33 #7A1958 #AD237D #D6379E
Accessibility & contrast
On white
9.96
#7A1958 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#7A1958 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A1958
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A1958 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A1958 | 1.00 | 9.96 | 2.11 | 9.96 |
| #FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27385A
Deuteranopia (green-blind)
#444856
Tritanopia (blue-blind)
#831636
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7a1958; /* rgb */ color: rgb(122, 25, 88); /* oklch */ color: oklch(40.1% 0.146 346.0);
Tailwind
colors: {
custom: {
50: '#a46187',
500: '#7a1958',
950: '#000000',
},
}SCSS
$custom: #7a1958; $custom-light: #a46187; $custom-dark: #000000;
JSON
{
"hex": "#7a1958",
"rgb": {
"r": 122,
"g": 25,
"b": 88
},
"hsl": {
"h": 321.031,
"s": 65.986,
"l": 28.824
},
"oklch": {
"l": 0.4005,
"c": 0.14564,
"h": 346
},
"luminance": 0.05537
}Semantic roles & 50–950 ramp
primary
#7A1958
secondary
#40AF67
accent
#E97A3F
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C