#7B2247#7B2247
#7B2247 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.4% C 0.127 H 359.1°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #7B2247 |
|---|---|
| RGB | rgb(123, 34, 71) |
| HSL | hsl(335, 57%, 31%) |
| HSV | hsv(335, 72%, 48%) |
| CMYK | cmyk(0%, 72.4%, 42.3%, 51.8%) |
| CIE-LAB | lab(28.93, 41.41, -0.94) |
| CIE-LCH | lch(28.93, 41.42, 358.69°) |
| OKLab | oklab(40.39% 0.1269 -0.002) |
| OKLCH | oklch(40.39% 0.127 359.1) |
| XYZ | xyz(9.8784, 5.8112, 6.5615) |
| Luminance | 0.0581 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 3.29
Wine (survey)
#80013F
ΔE00 3.66
Merlot
#730039
ΔE00 4.54
Mulberry
#920A4E
ΔE00 4.73
Reddish Purple
#910951
ΔE00 4.85
Berry
#990F4B
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B2247 #227B56
analogous
#7B2273 #7B2247 #7B2922
triadic
#7B2247 #477B22 #22477B
tetradic
#7B2247 #737B22 #227B56 #29227B
square
#7B2247 #737B22 #227B56 #29227B
split-complementary
#7B2247 #227B29 #22737B
monochromatic
#1B0710 #4B152B #7B2247 #AB2F63 #CD4A81
Accessibility & contrast
On white
9.71
#7B2247 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#7B2247 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B2247
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B2247 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B2247 | 1.00 | 9.71 | 2.16 | 9.71 |
| #FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#343948
Deuteranopia (green-blind)
#4C4A45
Tritanopia (blue-blind)
#851731
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7b2247; /* rgb */ color: rgb(123, 34, 71); /* oklch */ color: oklch(40.4% 0.127 359.1);
Tailwind
colors: {
custom: {
50: '#a5647a',
500: '#7b2247',
950: '#000000',
},
}SCSS
$custom: #7b2247; $custom-light: #a5647a; $custom-dark: #000000;
JSON
{
"hex": "#7b2247",
"rgb": {
"r": 123,
"g": 34,
"b": 71
},
"hsl": {
"h": 335.056,
"s": 56.688,
"l": 30.784
},
"oklch": {
"l": 0.40395,
"c": 0.12694,
"h": 359.1
},
"luminance": 0.0581
}Semantic roles & 50–950 ramp
primary
#7B2247
secondary
#4BAE85
accent
#E0A148
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B