#7B2145#7B2145
#7B2145 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.2% C 0.127 H 0.3°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #7B2145 |
|---|---|
| RGB | rgb(123, 33, 69) |
| HSL | hsl(336, 58%, 31%) |
| HSV | hsv(336, 73%, 48%) |
| CMYK | cmyk(0%, 73.2%, 43.9%, 51.8%) |
| CIE-LAB | lab(28.72, 41.60, 0.08) |
| CIE-LCH | lch(28.72, 41.60, 0.11°) |
| OKLab | oklab(40.22% 0.1275 0.0007) |
| OKLCH | oklch(40.22% 0.127 0.3) |
| XYZ | xyz(9.7871, 5.7296, 6.2196) |
| Luminance | 0.0573 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 3.36
Wine (survey)
#80013F
ΔE00 3.39
Merlot
#730039
ΔE00 4.31
Mulberry
#920A4E
ΔE00 4.78
Reddish Purple
#910951
ΔE00 5.01
Berry
#990F4B
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B2145 #217B57
analogous
#7B2172 #7B2145 #7B2A21
triadic
#7B2145 #457B21 #21457B
tetradic
#7B2145 #727B21 #217B57 #2A217B
square
#7B2145 #727B21 #217B57 #2A217B
split-complementary
#7B2145 #217B2A #21727B
monochromatic
#1A070F #4B142A #7B2145 #AB2E60 #CE487E
Accessibility & contrast
On white
9.79
#7B2145 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7B2145 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B2145
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B2145 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B2145 | 1.00 | 9.79 | 2.15 | 9.79 |
| #FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#343946
Deuteranopia (green-blind)
#4C4A43
Tritanopia (blue-blind)
#861530
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7b2145; /* rgb */ color: rgb(123, 33, 69); /* oklch */ color: oklch(40.2% 0.127 0.3);
Tailwind
colors: {
custom: {
50: '#a56478',
500: '#7b2145',
950: '#000000',
},
}SCSS
$custom: #7b2145; $custom-light: #a56478; $custom-dark: #000000;
JSON
{
"hex": "#7b2145",
"rgb": {
"r": 123,
"g": 33,
"b": 69
},
"hsl": {
"h": 336,
"s": 57.692,
"l": 30.588
},
"oklch": {
"l": 0.40217,
"c": 0.12749,
"h": 0.3
},
"luminance": 0.05728
}Semantic roles & 50–950 ramp
primary
#7B2145
secondary
#4AAE86
accent
#E1A347
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B