#7A1E40#7A1E40
#7A1E40 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.129 H 2.8°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).
Color values
| HEX | #7A1E40 |
|---|---|
| RGB | rgb(122, 30, 64) |
| HSL | hsl(338, 61%, 30%) |
| HSV | hsv(338, 75%, 48%) |
| CMYK | cmyk(0%, 75.4%, 47.5%, 52.2%) |
| CIE-LAB | lab(27.95, 41.93, 2.27) |
| CIE-LCH | lch(27.95, 42.00, 3.10°) |
| OKLab | oklab(39.56% 0.1284 0.0063) |
| OKLCH | oklch(39.56% 0.129 2.8) |
| XYZ | xyz(9.4165, 5.4375, 5.4032) |
| Luminance | 0.0544 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 3.08
Red Purple
#820747
ΔE00 3.83
Merlot
#730039
ΔE00 3.88
Mulberry
#920A4E
ΔE00 5.28
Reddish Purple
#910951
ΔE00 5.70
Bordeaux
#7B002C
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A1E40 #1E7A58
analogous
#7A1E6E #7A1E40 #7A2A1E
triadic
#7A1E40 #407A1E #1E407A
tetradic
#7A1E40 #6E7A1E #1E7A58 #2A1E7A
square
#7A1E40 #6E7A1E #1E7A58 #2A1E7A
split-complementary
#7A1E40 #1E7A2A #1E6E7A
monochromatic
#19060D #491226 #7A1E40 #AB2A5A #D04277
Accessibility & contrast
On white
10.06
#7A1E40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#7A1E40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A1E40
10.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A1E40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A1E40 | 1.00 | 10.06 | 2.09 | 10.06 |
| #FFFFFF | 10.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#333741
Deuteranopia (green-blind)
#4B483E
Tritanopia (blue-blind)
#850E2C
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7a1e40; /* rgb */ color: rgb(122, 30, 64); /* oklch */ color: oklch(39.6% 0.129 2.8);
Tailwind
colors: {
custom: {
50: '#a56274',
500: '#7a1e40',
950: '#000000',
},
}SCSS
$custom: #7a1e40; $custom-light: #a56274; $custom-dark: #000000;
JSON
{
"hex": "#7a1e40",
"rgb": {
"r": 122,
"g": 30,
"b": 64
},
"hsl": {
"h": 337.826,
"s": 60.526,
"l": 29.804
},
"oklch": {
"l": 0.39559,
"c": 0.12857,
"h": 2.8
},
"luminance": 0.05436
}Semantic roles & 50–950 ramp
primary
#7A1E40
secondary
#46AE87
accent
#E4A944
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B