#7E2143#7E2143
#7E2143 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.7% C 0.130 H 2.7°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2143 |
|---|---|
| RGB | rgb(126, 33, 67) |
| HSL | hsl(338, 58%, 31%) |
| HSV | hsv(338, 74%, 49%) |
| CMYK | cmyk(0%, 73.8%, 46.8%, 50.6%) |
| CIE-LAB | lab(29.23, 42.33, 2.23) |
| CIE-LCH | lch(29.23, 42.39, 3.01°) |
| OKLab | oklab(40.69% 0.1296 0.0062) |
| OKLCH | oklch(40.69% 0.13 2.7) |
| XYZ | xyz(10.1619, 5.9299, 5.9186) |
| Luminance | 0.0593 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 3.40
Red Purple
#820747
ΔE00 3.88
Merlot
#730039
ΔE00 4.68
Mulberry
#920A4E
ΔE00 4.71
Reddish Purple
#910951
ΔE00 5.19
Berry
#990F4B
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2143 #217E5C
analogous
#7E2171 #7E2143 #7E2D21
triadic
#7E2143 #437E21 #21437E
tetradic
#7E2143 #717E21 #217E5C #2D217E
square
#7E2143 #717E21 #217E5C #2D217E
split-complementary
#7E2143 #217E2D #21717E
monochromatic
#1D080F #4E1429 #7E2143 #AE2E5D #D04A7B
Accessibility & contrast
On white
9.61
#7E2143 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#7E2143 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2143
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2143 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2143 | 1.00 | 9.61 | 2.19 | 9.61 |
| #FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363944
Deuteranopia (green-blind)
#4E4C41
Tritanopia (blue-blind)
#89122F
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7e2143; /* rgb */ color: rgb(126, 33, 67); /* oklch */ color: oklch(40.7% 0.130 2.7);
Tailwind
colors: {
custom: {
50: '#a86476',
500: '#7e2143',
950: '#000000',
},
}SCSS
$custom: #7e2143; $custom-light: #a86476; $custom-dark: #000000;
JSON
{
"hex": "#7e2143",
"rgb": {
"r": 126,
"g": 33,
"b": 67
},
"hsl": {
"h": 338.065,
"s": 58.491,
"l": 31.176
},
"oklch": {
"l": 0.40685,
"c": 0.12975,
"h": 2.7
},
"luminance": 0.05929
}Semantic roles & 50–950 ramp
primary
#7E2143
secondary
#4AB18B
accent
#E2A946
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B