#7B1B4E#7B1B4E
#7B1B4E is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.139 H 353.0°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #7B1B4E |
|---|---|
| RGB | rgb(123, 27, 78) |
| HSL | hsl(328, 64%, 29%) |
| HSV | hsv(328, 78%, 48%) |
| CMYK | cmyk(0%, 78%, 36.6%, 51.8%) |
| CIE-LAB | lab(28.24, 44.86, -6.63) |
| CIE-LCH | lch(28.24, 45.35, 351.60°) |
| OKLab | oklab(39.97% 0.1376 -0.017) |
| OKLCH | oklch(39.97% 0.139 353) |
| XYZ | xyz(9.9361, 5.5461, 7.7535) |
| Luminance | 0.0554 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.92
Velvet
#750851
ΔE00 3.77
Reddish Purple
#910951
ΔE00 4.39
Wine (survey)
#80013F
ΔE00 4.61
Mulberry
#920A4E
ΔE00 4.94
Merlot
#730039
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B1B4E #1B7B48
analogous
#781B7B #7B1B4E #7B1B1E
triadic
#7B1B4E #4E7B1B #1B4E7B
tetradic
#7B1B4E #7B781B #1B7B48 #1B1E7B
square
#7B1B4E #7B781B #1B7B48 #1B1E7B
split-complementary
#7B1B4E #1E7B1B #1B7B78
monochromatic
#190610 #49102E #7B1B4E #AD266E #D43C8D
Accessibility & contrast
On white
9.96
#7B1B4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#7B1B4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B1B4E
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B1B4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B1B4E | 1.00 | 9.96 | 2.11 | 9.96 |
| #FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D374F
Deuteranopia (green-blind)
#48494C
Tritanopia (blue-blind)
#851232
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7b1b4e; /* rgb */ color: rgb(123, 27, 78); /* oklch */ color: oklch(40.0% 0.139 353.0);
Tailwind
colors: {
custom: {
50: '#a5627f',
500: '#7b1b4e',
950: '#000000',
},
}SCSS
$custom: #7b1b4e; $custom-light: #a5627f; $custom-dark: #000000;
JSON
{
"hex": "#7b1b4e",
"rgb": {
"r": 123,
"g": 27,
"b": 78
},
"hsl": {
"h": 328.125,
"s": 64,
"l": 29.412
},
"oklch": {
"l": 0.39967,
"c": 0.13864,
"h": 353
},
"luminance": 0.05545
}Semantic roles & 50–950 ramp
primary
#7B1B4E
secondary
#43AF76
accent
#E78F41
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C