#7A1F4D#7A1F4D
#7A1F4D is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.1% C 0.132 H 353.9°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #7A1F4D |
|---|---|
| RGB | rgb(122, 31, 77) |
| HSL | hsl(330, 59%, 30%) |
| HSV | hsv(330, 75%, 48%) |
| CMYK | cmyk(0%, 74.6%, 36.9%, 52.2%) |
| CIE-LAB | lab(28.52, 42.99, -5.55) |
| CIE-LCH | lch(28.52, 43.35, 352.64°) |
| OKLab | oklab(40.13% 0.1317 -0.0141) |
| OKLCH | oklch(40.13% 0.132 353.9) |
| XYZ | xyz(9.8562, 5.6545, 7.5921) |
| Luminance | 0.0565 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 3.11
Velvet
#750851
ΔE00 4.47
Wine (survey)
#80013F
ΔE00 4.57
Reddish Purple
#910951
ΔE00 4.59
Mulberry
#920A4E
ΔE00 5.01
Merlot
#730039
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A1F4D #1F7A4C
analogous
#791F7A #7A1F4D #7A1F20
triadic
#7A1F4D #4D7A1F #1F4D7A
tetradic
#7A1F4D #7A791F #1F7A4C #1F207A
square
#7A1F4D #7A791F #1F7A4C #1F207A
split-complementary
#7A1F4D #207A1F #1F7A79
monochromatic
#18060F #49132E #7A1F4D #AB2B6C #CF448A
Accessibility & contrast
On white
9.86
#7A1F4D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#7A1F4D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A1F4D
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A1F4D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A1F4D | 1.00 | 9.86 | 2.13 | 9.86 |
| #FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F394E
Deuteranopia (green-blind)
#49494B
Tritanopia (blue-blind)
#841733
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7a1f4d; /* rgb */ color: rgb(122, 31, 77); /* oklch */ color: oklch(40.1% 0.132 353.9);
Tailwind
colors: {
custom: {
50: '#a4637e',
500: '#7a1f4d',
950: '#000000',
},
}SCSS
$custom: #7a1f4d; $custom-light: #a4637e; $custom-dark: #000000;
JSON
{
"hex": "#7a1f4d",
"rgb": {
"r": 122,
"g": 31,
"b": 77
},
"hsl": {
"h": 329.67,
"s": 59.477,
"l": 30
},
"oklch": {
"l": 0.40128,
"c": 0.13249,
"h": 353.9
},
"luminance": 0.05653
}Semantic roles & 50–950 ramp
primary
#7A1F4D
secondary
#47AD7A
accent
#E39345
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C