#7B1B47#7B1B47
#7B1B47 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.7% C 0.135 H 357.6°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).
Color values
| HEX | #7B1B47 |
|---|---|
| RGB | rgb(123, 27, 71) |
| HSL | hsl(333, 64%, 29%) |
| HSV | hsv(333, 78%, 48%) |
| CMYK | cmyk(0%, 78%, 42.3%, 51.8%) |
| CIE-LAB | lab(27.98, 44.06, -2.34) |
| CIE-LCH | lch(27.98, 44.13, 356.96°) |
| OKLab | oklab(39.7% 0.1354 -0.0056) |
| OKLCH | oklch(39.7% 0.135 357.6) |
| XYZ | xyz(9.6983, 5.4510, 6.5014) |
| Luminance | 0.0545 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.18
Wine (survey)
#80013F
ΔE00 2.99
Merlot
#730039
ΔE00 3.76
Reddish Purple
#910951
ΔE00 4.32
Mulberry
#920A4E
ΔE00 4.40
Dark Magenta
#960056
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B1B47 #1B7B4F
analogous
#7B1B77 #7B1B47 #7B1F1B
triadic
#7B1B47 #477B1B #1B477B
tetradic
#7B1B47 #777B1B #1B7B4F #1F1B7B
square
#7B1B47 #777B1B #1B7B4F #1F1B7B
split-complementary
#7B1B47 #1B7B1F #1B777B
monochromatic
#19060E #49102A #7B1B47 #AD2664 #D43C82
Accessibility & contrast
On white
10.05
#7B1B47 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#7B1B47 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B1B47
10.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B1B47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B1B47 | 1.00 | 10.05 | 2.09 | 10.05 |
| #FFFFFF | 10.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F3748
Deuteranopia (green-blind)
#4A4945
Tritanopia (blue-blind)
#860D2E
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7b1b47; /* rgb */ color: rgb(123, 27, 71); /* oklch */ color: oklch(39.7% 0.135 357.6);
Tailwind
colors: {
custom: {
50: '#a6617a',
500: '#7b1b47',
950: '#000000',
},
}SCSS
$custom: #7b1b47; $custom-light: #a6617a; $custom-dark: #000000;
JSON
{
"hex": "#7b1b47",
"rgb": {
"r": 123,
"g": 27,
"b": 71
},
"hsl": {
"h": 332.5,
"s": 64,
"l": 29.412
},
"oklch": {
"l": 0.39697,
"c": 0.13548,
"h": 357.6
},
"luminance": 0.0545
}Semantic roles & 50–950 ramp
primary
#7B1B47
secondary
#43AF7D
accent
#E79B41
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B