#7A1B4A#7A1B4A
#7A1B4A is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.136 H 355.2°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).
Color values
| HEX | #7A1B4A |
|---|---|
| RGB | rgb(122, 27, 74) |
| HSL | hsl(330, 64%, 29%) |
| HSV | hsv(330, 78%, 48%) |
| CMYK | cmyk(0%, 77.9%, 39.3%, 52.2%) |
| CIE-LAB | lab(27.89, 44.11, -4.50) |
| CIE-LCH | lch(27.89, 44.34, 354.17°) |
| OKLab | oklab(39.63% 0.1354 -0.0113) |
| OKLCH | oklch(39.63% 0.136 355.2) |
| XYZ | xyz(9.6546, 5.4170, 7.0144) |
| Luminance | 0.0542 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.43
Wine (survey)
#80013F
ΔE00 3.77
Merlot
#730039
ΔE00 4.26
Reddish Purple
#910951
ΔE00 4.41
Velvet
#750851
ΔE00 4.59
Mulberry
#920A4E
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A1B4A #1B7A4B
analogous
#7A1B7A #7A1B4A #7A1C1B
triadic
#7A1B4A #4A7A1B #1B4A7A
tetradic
#7A1B4A #7A7A1B #1B7A4B #1C1B7A
square
#7A1B4A #7A7A1B #1B7A4B #1C1B7A
split-complementary
#7A1B4A #1B7A1C #1B7A7A
monochromatic
#19060F #48102C #7A1B4A #AC2668 #D43C87
Accessibility & contrast
On white
10.08
#7A1B4A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#7A1B4A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A1B4A
10.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A1B4A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A1B4A | 1.00 | 10.08 | 2.08 | 10.08 |
| #FFFFFF | 10.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E374B
Deuteranopia (green-blind)
#484848
Tritanopia (blue-blind)
#841030
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7a1b4a; /* rgb */ color: rgb(122, 27, 74); /* oklch */ color: oklch(39.6% 0.136 355.2);
Tailwind
colors: {
custom: {
50: '#a5617c',
500: '#7a1b4a',
950: '#000000',
},
}SCSS
$custom: #7a1b4a; $custom-light: #a5617c; $custom-dark: #000000;
JSON
{
"hex": "#7a1b4a",
"rgb": {
"r": 122,
"g": 27,
"b": 74
},
"hsl": {
"h": 330.316,
"s": 63.758,
"l": 29.216
},
"oklch": {
"l": 0.39629,
"c": 0.1359,
"h": 355.2
},
"luminance": 0.05416
}Semantic roles & 50–950 ramp
primary
#7A1B4A
secondary
#43AE79
accent
#E79541
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B