#7B1538#7B1538
#7B1538 is a dark, vivid pink. Relative luminance 0.050; OKLCH L 38.7% C 0.137 H 6.6°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).
Color values
| HEX | #7B1538 |
|---|---|
| RGB | rgb(123, 21, 56) |
| HSL | hsl(339, 71%, 28%) |
| HSV | hsv(339, 83%, 48%) |
| CMYK | cmyk(0%, 82.9%, 54.5%, 51.8%) |
| CIE-LAB | lab(26.83, 44.55, 6.11) |
| CIE-LCH | lch(26.83, 44.96, 7.81°) |
| OKLab | oklab(38.7% 0.136 0.0158) |
| OKLCH | oklch(38.7% 0.137 6.6) |
| XYZ | xyz(9.1512, 5.0341, 4.2304) |
| Luminance | 0.0503 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 3.36
Bordeaux
#7B002C
ΔE00 3.36
Merlot
#730039
ΔE00 4.07
Red Wine
#8C0034
ΔE00 4.16
Red Purple
#820747
ΔE00 5.05
Purple Red
#990147
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B1538 #157B58
analogous
#7B156B #7B1538 #7B2515
triadic
#7B1538 #387B15 #15387B
tetradic
#7B1538 #6B7B15 #157B58 #25157B
square
#7B1538 #6B7B15 #157B58 #25157B
split-complementary
#7B1538 #157B25 #156B7B
monochromatic
#1A040C #470C20 #7B1538 #AF1E50 #DB2F6A
Accessibility & contrast
On white
10.47
#7B1538 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#7B1538 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B1538
10.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B1538 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B1538 | 1.00 | 10.47 | 2.01 | 10.47 |
| #FFFFFF | 10.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#303339
Deuteranopia (green-blind)
#4B4736
Tritanopia (blue-blind)
#870025
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7b1538; /* rgb */ color: rgb(123, 21, 56); /* oklch */ color: oklch(38.7% 0.137 6.6);
Tailwind
colors: {
custom: {
50: '#a75f6e',
500: '#7b1538',
950: '#000000',
},
}SCSS
$custom: #7b1538; $custom-light: #a75f6e; $custom-dark: #000000;
JSON
{
"hex": "#7b1538",
"rgb": {
"r": 123,
"g": 21,
"b": 56
},
"hsl": {
"h": 339.412,
"s": 70.833,
"l": 28.235
},
"oklch": {
"l": 0.38699,
"c": 0.1369,
"h": 6.6
},
"luminance": 0.05033
}Semantic roles & 50–950 ramp
primary
#7B1538
secondary
#3BB088
accent
#EEB03A
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#100507
muted
#7F797A