#7B1A5B#7B1A5B
#7B1A5B is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.147 H 344.7°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).
Color values
| HEX | #7B1A5B |
|---|---|
| RGB | rgb(123, 26, 91) |
| HSL | hsl(320, 65%, 29%) |
| HSV | hsv(320, 79%, 48%) |
| CMYK | cmyk(0%, 78.9%, 26%, 51.8%) |
| CIE-LAB | lab(28.66, 46.86, -14.56) |
| CIE-LCH | lch(28.66, 49.07, 342.73°) |
| OKLab | oklab(40.45% 0.1419 -0.0388) |
| OKLCH | oklch(40.45% 0.147 344.7) |
| XYZ | xyz(10.4265, 5.7062, 10.4478) |
| Luminance | 0.0570 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.63
Rich Purple
#720058
ΔE00 3.66
Red Purple
#820747
ΔE00 6.09
Grape
#6C3461
ΔE00 6.14
Dark Magenta
#960056
ΔE00 6.41
Grape Purple
#5D1451
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B1A5B #1A7B3A
analogous
#6B1A7B #7B1A5B #7B1A2A
triadic
#7B1A5B #5B7B1A #1A5B7B
tetradic
#7B1A5B #7B6B1A #1A7B3A #1A2A7B
square
#7B1A5B #7B6B1A #1A7B3A #1A2A7B
split-complementary
#7B1A5B #2A7B1A #1A7B6B
monochromatic
#190513 #480F36 #7B1A5B #AE2580 #D53AA2
Accessibility & contrast
On white
9.81
#7B1A5B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#7B1A5B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B1A5B
9.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B1A5B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B1A5B | 1.00 | 9.81 | 2.14 | 9.81 |
| #FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26395D
Deuteranopia (green-blind)
#444959
Tritanopia (blue-blind)
#841938
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7b1a5b; /* rgb */ color: rgb(123, 26, 91); /* oklch */ color: oklch(40.5% 0.147 344.7);
Tailwind
colors: {
custom: {
50: '#a56289',
500: '#7b1a5b',
950: '#000000',
},
}SCSS
$custom: #7b1a5b; $custom-light: #a56289; $custom-dark: #000000;
JSON
{
"hex": "#7b1a5b",
"rgb": {
"r": 123,
"g": 26,
"b": 91
},
"hsl": {
"h": 319.794,
"s": 65.101,
"l": 29.216
},
"oklch": {
"l": 0.40451,
"c": 0.1471,
"h": 344.7
},
"luminance": 0.05705
}Semantic roles & 50–950 ramp
primary
#7B1A5B
secondary
#42AF66
accent
#E87740
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C