#7B2047#7B2047
#7B2047 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.2% C 0.130 H 358.6°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).
Color values
| HEX | #7B2047 |
|---|---|
| RGB | rgb(123, 32, 71) |
| HSL | hsl(334, 59%, 30%) |
| HSV | hsv(334, 74%, 48%) |
| CMYK | cmyk(0%, 74%, 42.3%, 51.8%) |
| CIE-LAB | lab(28.64, 42.21, -1.37) |
| CIE-LCH | lch(28.64, 42.24, 358.15°) |
| OKLab | oklab(40.18% 0.1295 -0.0031) |
| OKLCH | oklch(40.18% 0.13 358.6) |
| XYZ | xyz(9.8229, 5.7001, 6.5430) |
| Luminance | 0.0570 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.92
Wine (survey)
#80013F
ΔE00 3.41
Merlot
#730039
ΔE00 4.27
Mulberry
#920A4E
ΔE00 4.59
Reddish Purple
#910951
ΔE00 4.65
Dark Magenta
#960056
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B2047 #207B54
analogous
#7B2074 #7B2047 #7B2720
triadic
#7B2047 #477B20 #20477B
tetradic
#7B2047 #747B20 #207B54 #27207B
square
#7B2047 #747B20 #207B54 #27207B
split-complementary
#7B2047 #207B27 #20747B
monochromatic
#1A070F #4A132B #7B2047 #AC2D63 #CF4681
Accessibility & contrast
On white
9.81
#7B2047 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#7B2047 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B2047
9.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B2047 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B2047 | 1.00 | 9.81 | 2.14 | 9.81 |
| #FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#323948
Deuteranopia (green-blind)
#4B4A45
Tritanopia (blue-blind)
#851430
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7b2047; /* rgb */ color: rgb(123, 32, 71); /* oklch */ color: oklch(40.2% 0.130 358.6);
Tailwind
colors: {
custom: {
50: '#a5647a',
500: '#7b2047',
950: '#000000',
},
}SCSS
$custom: #7b2047; $custom-light: #a5647a; $custom-dark: #000000;
JSON
{
"hex": "#7b2047",
"rgb": {
"r": 123,
"g": 32,
"b": 71
},
"hsl": {
"h": 334.286,
"s": 58.71,
"l": 30.392
},
"oklch": {
"l": 0.40182,
"c": 0.12951,
"h": 358.6
},
"luminance": 0.05699
}Semantic roles & 50–950 ramp
primary
#7B2047
secondary
#49AE83
accent
#E29F46
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B