#7B1547#7B1547
#7B1547 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.2% C 0.142 H 356.7°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).
Color values
| HEX | #7B1547 |
|---|---|
| RGB | rgb(123, 21, 71) |
| HSL | hsl(331, 71%, 28%) |
| HSV | hsv(331, 83%, 48%) |
| CMYK | cmyk(0%, 82.9%, 42.3%, 51.8%) |
| CIE-LAB | lab(27.31, 45.98, -3.34) |
| CIE-LCH | lch(27.31, 46.10, 355.85°) |
| OKLab | oklab(39.2% 0.1415 -0.0082) |
| OKLCH | oklch(39.2% 0.142 356.7) |
| XYZ | xyz(9.5746, 5.2035, 6.4602) |
| Luminance | 0.0520 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 1.64
Wine (survey)
#80013F
ΔE00 2.82
Merlot
#730039
ΔE00 3.43
Reddish Purple
#910951
ΔE00 4.19
Mulberry
#920A4E
ΔE00 4.41
Velvet
#750851
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B1547 #157B49
analogous
#7B157A #7B1547 #7B1615
triadic
#7B1547 #477B15 #15477B
tetradic
#7B1547 #7A7B15 #157B49 #16157B
square
#7B1547 #7A7B15 #157B49 #16157B
split-complementary
#7B1547 #157B16 #157A7B
monochromatic
#1A040F #470C29 #7B1547 #AF1E65 #DB2F84
Accessibility & contrast
On white
10.29
#7B1547 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#7B1547 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B1547
10.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B1547 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B1547 | 1.00 | 10.29 | 2.04 | 10.29 |
| #FFFFFF | 10.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C3448
Deuteranopia (green-blind)
#484745
Tritanopia (blue-blind)
#86022C
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7b1547; /* rgb */ color: rgb(123, 21, 71); /* oklch */ color: oklch(39.2% 0.142 356.7);
Tailwind
colors: {
custom: {
50: '#a65f7a',
500: '#7b1547',
950: '#000000',
},
}SCSS
$custom: #7b1547; $custom-light: #a65f7a; $custom-dark: #000000;
JSON
{
"hex": "#7b1547",
"rgb": {
"r": 123,
"g": 21,
"b": 71
},
"hsl": {
"h": 330.588,
"s": 70.833,
"l": 28.235
},
"oklch": {
"l": 0.39202,
"c": 0.14172,
"h": 356.7
},
"luminance": 0.05202
}Semantic roles & 50–950 ramp
primary
#7B1547
secondary
#3BB077
accent
#EE963A
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100509
muted
#7F797B