#7B1A5E#7B1A5E
#7B1A5E is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.6% C 0.149 H 342.9°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #7B1A5E |
|---|---|
| RGB | rgb(123, 26, 94) |
| HSL | hsl(318, 65%, 29%) |
| HSV | hsv(318, 79%, 48%) |
| CMYK | cmyk(0%, 78.9%, 23.6%, 51.8%) |
| CIE-LAB | lab(28.80, 47.27, -16.32) |
| CIE-LCH | lch(28.80, 50.01, 340.96°) |
| OKLab | oklab(40.6% 0.1425 -0.0437) |
| OKLCH | oklch(40.6% 0.149 342.9) |
| XYZ | xyz(10.5585, 5.7590, 11.1431) |
| Luminance | 0.0576 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.05
Rich Purple
#720058
ΔE00 3.42
Darkish Purple
#751973
ΔE00 5.97
Grape
#6C3461
ΔE00 6.01
Grape Purple
#5D1451
ΔE00 6.27
Red Violet
#9E0168
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B1A5E #1A7B37
analogous
#681A7B #7B1A5E #7B1A2E
triadic
#7B1A5E #5E7B1A #1A5E7B
tetradic
#7B1A5E #7B681A #1A7B37 #1A2E7B
square
#7B1A5E #7B681A #1A7B37 #1A2E7B
split-complementary
#7B1A5E #2E7B1A #1A7B68
monochromatic
#190513 #480F37 #7B1A5E #AE2585 #D53AA7
Accessibility & contrast
On white
9.76
#7B1A5E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7B1A5E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B1A5E
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B1A5E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B1A5E | 1.00 | 9.76 | 2.15 | 9.76 |
| #FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#253A60
Deuteranopia (green-blind)
#434A5C
Tritanopia (blue-blind)
#831A3A
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7b1a5e; /* rgb */ color: rgb(123, 26, 94); /* oklch */ color: oklch(40.6% 0.149 342.9);
Tailwind
colors: {
custom: {
50: '#a5628b',
500: '#7b1a5e',
950: '#000000',
},
}SCSS
$custom: #7b1a5e; $custom-light: #a5628b; $custom-dark: #000000;
JSON
{
"hex": "#7b1a5e",
"rgb": {
"r": 123,
"g": 26,
"b": 94
},
"hsl": {
"h": 317.938,
"s": 65.101,
"l": 29.216
},
"oklch": {
"l": 0.40595,
"c": 0.14901,
"h": 342.9
},
"luminance": 0.05758
}Semantic roles & 50–950 ramp
primary
#7B1A5E
secondary
#42AF62
accent
#E87240
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D