#7E2747#7E2747
#7E2747 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.5% C 0.123 H 1.5°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2747 |
|---|---|
| RGB | rgb(126, 39, 71) |
| HSL | hsl(338, 53%, 32%) |
| HSV | hsv(338, 69%, 49%) |
| CMYK | cmyk(0%, 69%, 43.7%, 50.6%) |
| CIE-LAB | lab(30.26, 40.26, 1.07) |
| CIE-LCH | lch(30.26, 40.28, 1.52°) |
| OKLab | oklab(41.48% 0.1232 0.0032) |
| OKLCH | oklch(41.48% 0.123 1.5) |
| XYZ | xyz(10.4678, 6.3429, 6.6331) |
| Luminance | 0.0634 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 4.39
Wine (survey)
#80013F
ΔE00 4.39
Mulberry
#920A4E
ΔE00 4.93
Reddish Purple
#910951
ΔE00 5.29
Berry
#990F4B
ΔE00 5.47
Merlot
#730039
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2747 #277E5E
analogous
#7E2773 #7E2747 #7E3327
triadic
#7E2747 #477E27 #27477E
tetradic
#7E2747 #737E27 #277E5E #33277E
square
#7E2747 #737E27 #277E5E #33277E
split-complementary
#7E2747 #277E33 #27737E
monochromatic
#210A12 #4F192D #7E2747 #AD3561 #CA5580
Accessibility & contrast
On white
9.26
#7E2747 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#7E2747 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2747
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2747 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2747 | 1.00 | 9.26 | 2.27 | 9.26 |
| #FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383D48
Deuteranopia (green-blind)
#504D45
Tritanopia (blue-blind)
#891C34
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7e2747; /* rgb */ color: rgb(126, 39, 71); /* oklch */ color: oklch(41.5% 0.123 1.5);
Tailwind
colors: {
custom: {
50: '#a7677a',
500: '#7e2747',
950: '#000000',
},
}SCSS
$custom: #7e2747; $custom-light: #a7677a; $custom-dark: #000000;
JSON
{
"hex": "#7e2747",
"rgb": {
"r": 126,
"g": 39,
"b": 71
},
"hsl": {
"h": 337.931,
"s": 52.727,
"l": 32.353
},
"oklch": {
"l": 0.41484,
"c": 0.12321,
"h": 1.5
},
"luminance": 0.06342
}Semantic roles & 50–950 ramp
primary
#7E2747
secondary
#52AF8D
accent
#DCA74C
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B