#7A1F4E#7A1F4E
#7A1F4E is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.2% C 0.133 H 353.2°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #7A1F4E |
|---|---|
| RGB | rgb(122, 31, 78) |
| HSL | hsl(329, 59%, 30%) |
| HSV | hsv(329, 75%, 48%) |
| CMYK | cmyk(0%, 74.6%, 36.1%, 52.2%) |
| CIE-LAB | lab(28.56, 43.11, -6.16) |
| CIE-LCH | lch(28.56, 43.55, 351.87°) |
| OKLab | oklab(40.17% 0.132 -0.0158) |
| OKLCH | oklch(40.17% 0.133 353.2) |
| XYZ | xyz(9.8918, 5.6688, 7.7795) |
| Luminance | 0.0567 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 3.26
Velvet
#750851
ΔE00 4.24
Reddish Purple
#910951
ΔE00 4.64
Wine (survey)
#80013F
ΔE00 4.80
Mulberry
#920A4E
ΔE00 5.12
Merlot
#730039
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A1F4E #1F7A4B
analogous
#781F7A #7A1F4E #7A1F21
triadic
#7A1F4E #4E7A1F #1F4E7A
tetradic
#7A1F4E #7A781F #1F7A4B #1F217A
square
#7A1F4E #7A781F #1F7A4B #1F217A
split-complementary
#7A1F4E #217A1F #1F7A78
monochromatic
#180610 #49132F #7A1F4E #AB2B6D #CF448C
Accessibility & contrast
On white
9.84
#7A1F4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#7A1F4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A1F4E
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A1F4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A1F4E | 1.00 | 9.84 | 2.13 | 9.84 |
| #FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F394F
Deuteranopia (green-blind)
#49494C
Tritanopia (blue-blind)
#841733
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7a1f4e; /* rgb */ color: rgb(122, 31, 78); /* oklch */ color: oklch(40.2% 0.133 353.2);
Tailwind
colors: {
custom: {
50: '#a4637f',
500: '#7a1f4e',
950: '#000000',
},
}SCSS
$custom: #7a1f4e; $custom-light: #a4637f; $custom-dark: #000000;
JSON
{
"hex": "#7a1f4e",
"rgb": {
"r": 122,
"g": 31,
"b": 78
},
"hsl": {
"h": 329.011,
"s": 59.477,
"l": 30
},
"oklch": {
"l": 0.40168,
"c": 0.13298,
"h": 353.2
},
"luminance": 0.05668
}Semantic roles & 50–950 ramp
primary
#7A1F4E
secondary
#47AD79
accent
#E39145
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C