#7A1F5D#7A1F5D
#7A1F5D is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.8% C 0.142 H 343.5°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #7A1F5D |
|---|---|
| RGB | rgb(122, 31, 93) |
| HSL | hsl(319, 59%, 30%) |
| HSV | hsv(319, 75%, 48%) |
| CMYK | cmyk(0%, 74.6%, 23.8%, 52.2%) |
| CIE-LAB | lab(29.18, 45.11, -15.08) |
| CIE-LCH | lch(29.18, 47.56, 341.51°) |
| OKLab | oklab(40.82% 0.1359 -0.0403) |
| OKLCH | oklch(40.82% 0.142 343.5) |
| XYZ | xyz(10.4922, 5.9089, 10.9418) |
| Luminance | 0.0591 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.29
Rich Purple
#720058
ΔE00 4.04
Grape
#6C3461
ΔE00 5.41
Grape Purple
#5D1451
ΔE00 6.41
Darkish Purple
#751973
ΔE00 6.45
Red Purple
#820747
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A1F5D #1F7A3C
analogous
#6A1F7A #7A1F5D #7A1F2F
triadic
#7A1F5D #5D7A1F #1F5D7A
tetradic
#7A1F5D #7A6A1F #1F7A3C #1F2F7A
square
#7A1F5D #7A6A1F #1F7A3C #1F2F7A
split-complementary
#7A1F5D #2F7A1F #1F7A6A
monochromatic
#180613 #491338 #7A1F5D #AB2B82 #CF44A3
Accessibility & contrast
On white
9.63
#7A1F5D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#7A1F5D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A1F5D
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A1F5D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A1F5D | 1.00 | 9.63 | 2.18 | 9.63 |
| #FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#283B5F
Deuteranopia (green-blind)
#444A5B
Tritanopia (blue-blind)
#821F3B
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7a1f5d; /* rgb */ color: rgb(122, 31, 93); /* oklch */ color: oklch(40.8% 0.142 343.5);
Tailwind
colors: {
custom: {
50: '#a4648b',
500: '#7a1f5d',
950: '#000000',
},
}SCSS
$custom: #7a1f5d; $custom-light: #a4648b; $custom-dark: #000000;
JSON
{
"hex": "#7a1f5d",
"rgb": {
"r": 122,
"g": 31,
"b": 93
},
"hsl": {
"h": 319.121,
"s": 59.477,
"l": 30
},
"oklch": {
"l": 0.40824,
"c": 0.14173,
"h": 343.5
},
"luminance": 0.05908
}Semantic roles & 50–950 ramp
primary
#7A1F5D
secondary
#47AD68
accent
#E37745
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D