#7B1542#7B1542
#7B1542 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 39.0% C 0.140 H 360.0°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).
Color values
| HEX | #7B1542 |
|---|---|
| RGB | rgb(123, 21, 66) |
| HSL | hsl(334, 71%, 28%) |
| HSV | hsv(334, 83%, 48%) |
| CMYK | cmyk(0%, 82.9%, 46.3%, 51.8%) |
| CIE-LAB | lab(27.14, 45.47, -0.22) |
| CIE-LCH | lch(27.14, 45.47, 359.72°) |
| OKLab | oklab(39.02% 0.1398 -0.0001) |
| OKLCH | oklch(39.02% 0.14 0) |
| XYZ | xyz(9.4207, 5.1419, 5.6496) |
| Luminance | 0.0514 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 1.85
Red Purple
#820747
ΔE00 2.09
Merlot
#730039
ΔE00 2.76
Mulberry
#920A4E
ΔE00 4.48
Reddish Purple
#910951
ΔE00 4.65
Berry
#990F4B
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B1542 #157B4E
analogous
#7B1575 #7B1542 #7B1B15
triadic
#7B1542 #427B15 #15427B
tetradic
#7B1542 #757B15 #157B4E #1B157B
square
#7B1542 #757B15 #157B4E #1B157B
split-complementary
#7B1542 #157B1B #15757B
monochromatic
#1A040E #470C26 #7B1542 #AF1E5E #DB2F7B
Accessibility & contrast
On white
10.35
#7B1542 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#7B1542 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B1542
10.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B1542 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B1542 | 1.00 | 10.35 | 2.03 | 10.35 |
| #FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E3443
Deuteranopia (green-blind)
#494740
Tritanopia (blue-blind)
#86002A
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7b1542; /* rgb */ color: rgb(123, 21, 66); /* oklch */ color: oklch(39.0% 0.140 360.0);
Tailwind
colors: {
custom: {
50: '#a65f76',
500: '#7b1542',
950: '#000000',
},
}SCSS
$custom: #7b1542; $custom-light: #a65f76; $custom-dark: #000000;
JSON
{
"hex": "#7b1542",
"rgb": {
"r": 123,
"g": 21,
"b": 66
},
"hsl": {
"h": 333.529,
"s": 70.833,
"l": 28.235
},
"oklch": {
"l": 0.39021,
"c": 0.13978,
"h": 360
},
"luminance": 0.05141
}Semantic roles & 50–950 ramp
primary
#7B1542
secondary
#3BB07D
accent
#EE9E3A
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100508
muted
#7F797B