#7B2152#7B2152
#7B2152 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.7% C 0.133 H 351.2°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #7B2152 |
|---|---|
| RGB | rgb(123, 33, 82) |
| HSL | hsl(327, 58%, 31%) |
| HSV | hsv(327, 73%, 48%) |
| CMYK | cmyk(0%, 73.2%, 33.3%, 51.8%) |
| CIE-LAB | lab(29.18, 43.13, -7.85) |
| CIE-LCH | lch(29.18, 43.84, 349.68°) |
| OKLab | oklab(40.71% 0.1318 -0.0203) |
| OKLCH | oklch(40.71% 0.133 351.2) |
| XYZ | xyz(10.2358, 5.9090, 8.5825) |
| Luminance | 0.0591 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 3.96
Velvet
#750851
ΔE00 3.99
Reddish Purple
#910951
ΔE00 4.83
Dark Magenta
#960056
ΔE00 5.39
Mulberry
#920A4E
ΔE00 5.45
Wine (survey)
#80013F
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B2152 #217B4A
analogous
#77217B #7B2152 #7B2125
triadic
#7B2152 #527B21 #21527B
tetradic
#7B2152 #7B7721 #217B4A #21257B
square
#7B2152 #7B7721 #217B4A #21257B
split-complementary
#7B2152 #257B21 #217B77
monochromatic
#1A0712 #4B1432 #7B2152 #AB2E72 #CE4891
Accessibility & contrast
On white
9.63
#7B2152 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#7B2152 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B2152
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B2152 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B2152 | 1.00 | 9.63 | 2.18 | 9.63 |
| #FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F3A53
Deuteranopia (green-blind)
#494B50
Tritanopia (blue-blind)
#841B36
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7b2152; /* rgb */ color: rgb(123, 33, 82); /* oklch */ color: oklch(40.7% 0.133 351.2);
Tailwind
colors: {
custom: {
50: '#a56482',
500: '#7b2152',
950: '#000000',
},
}SCSS
$custom: #7b2152; $custom-light: #a56482; $custom-dark: #000000;
JSON
{
"hex": "#7b2152",
"rgb": {
"r": 123,
"g": 33,
"b": 82
},
"hsl": {
"h": 327.333,
"s": 57.692,
"l": 30.588
},
"oklch": {
"l": 0.40709,
"c": 0.13333,
"h": 351.2
},
"luminance": 0.05908
}Semantic roles & 50–950 ramp
primary
#7B2152
secondary
#4AAE77
accent
#E18D47
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C