#7B1540#7B1540
#7B1540 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 39.0% C 0.139 H 1.3°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).
Color values
| HEX | #7B1540 |
|---|---|
| RGB | rgb(123, 21, 64) |
| HSL | hsl(335, 71%, 28%) |
| HSV | hsv(335, 83%, 48%) |
| CMYK | cmyk(0%, 82.9%, 48%, 51.8%) |
| CIE-LAB | lab(27.07, 45.27, 1.03) |
| CIE-LCH | lch(27.07, 45.28, 1.30°) |
| OKLab | oklab(38.95% 0.1391 0.0031) |
| OKLCH | oklch(38.95% 0.139 1.3) |
| XYZ | xyz(9.3627, 5.1187, 5.3445) |
| Luminance | 0.0512 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 1.75
Red Purple
#820747
ΔE00 2.57
Merlot
#730039
ΔE00 2.73
Mulberry
#920A4E
ΔE00 4.67
Reddish Purple
#910951
ΔE00 4.97
Purple Red
#990147
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B1540 #157B50
analogous
#7B1573 #7B1540 #7B1D15
triadic
#7B1540 #407B15 #15407B
tetradic
#7B1540 #737B15 #157B50 #1D157B
square
#7B1540 #737B15 #157B50 #1D157B
split-complementary
#7B1540 #157B1D #15737B
monochromatic
#1A040E #470C25 #7B1540 #AF1E5B #DB2F78
Accessibility & contrast
On white
10.38
#7B1540 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#7B1540 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B1540
10.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B1540 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B1540 | 1.00 | 10.38 | 2.02 | 10.38 |
| #FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E3341
Deuteranopia (green-blind)
#49473E
Tritanopia (blue-blind)
#860029
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7b1540; /* rgb */ color: rgb(123, 21, 64); /* oklch */ color: oklch(39.0% 0.139 1.3);
Tailwind
colors: {
custom: {
50: '#a65f74',
500: '#7b1540',
950: '#000000',
},
}SCSS
$custom: #7b1540; $custom-light: #a65f74; $custom-dark: #000000;
JSON
{
"hex": "#7b1540",
"rgb": {
"r": 123,
"g": 21,
"b": 64
},
"hsl": {
"h": 334.706,
"s": 70.833,
"l": 28.235
},
"oklch": {
"l": 0.38952,
"c": 0.1391,
"h": 1.3
},
"luminance": 0.05117
}Semantic roles & 50–950 ramp
primary
#7B1540
secondary
#3BB07F
accent
#EEA23A
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100508
muted
#7F797B