#7B2147#7B2147
#7B2147 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.3% C 0.128 H 358.9°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #7B2147 |
|---|---|
| RGB | rgb(123, 33, 71) |
| HSL | hsl(335, 58%, 31%) |
| HSV | hsv(335, 73%, 48%) |
| CMYK | cmyk(0%, 73.2%, 42.3%, 51.8%) |
| CIE-LAB | lab(28.79, 41.82, -1.16) |
| CIE-LCH | lch(28.79, 41.84, 358.41°) |
| OKLab | oklab(40.29% 0.1282 -0.0025) |
| OKLCH | oklch(40.29% 0.128 358.9) |
| XYZ | xyz(9.8503, 5.7548, 6.5521) |
| Luminance | 0.0575 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 3.10
Wine (survey)
#80013F
ΔE00 3.53
Merlot
#730039
ΔE00 4.40
Mulberry
#920A4E
ΔE00 4.65
Reddish Purple
#910951
ΔE00 4.74
Dark Magenta
#960056
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B2147 #217B55
analogous
#7B2174 #7B2147 #7B2821
triadic
#7B2147 #477B21 #21477B
tetradic
#7B2147 #747B21 #217B55 #28217B
square
#7B2147 #747B21 #217B55 #28217B
split-complementary
#7B2147 #217B28 #21747B
monochromatic
#1A070F #4B142B #7B2147 #AB2E63 #CE4881
Accessibility & contrast
On white
9.76
#7B2147 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7B2147 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B2147
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B2147 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B2147 | 1.00 | 9.76 | 2.15 | 9.76 |
| #FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#333948
Deuteranopia (green-blind)
#4C4A45
Tritanopia (blue-blind)
#851631
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7b2147; /* rgb */ color: rgb(123, 33, 71); /* oklch */ color: oklch(40.3% 0.128 358.9);
Tailwind
colors: {
custom: {
50: '#a5647a',
500: '#7b2147',
950: '#000000',
},
}SCSS
$custom: #7b2147; $custom-light: #a5647a; $custom-dark: #000000;
JSON
{
"hex": "#7b2147",
"rgb": {
"r": 123,
"g": 33,
"b": 71
},
"hsl": {
"h": 334.667,
"s": 57.692,
"l": 30.588
},
"oklch": {
"l": 0.40287,
"c": 0.12823,
"h": 358.9
},
"luminance": 0.05754
}Semantic roles & 50–950 ramp
primary
#7B2147
secondary
#4AAE84
accent
#E1A047
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B