#7E2148#7E2148
#7E2148 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.9% C 0.131 H 359.2°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2148 |
|---|---|
| RGB | rgb(126, 33, 72) |
| HSL | hsl(335, 58%, 31%) |
| HSV | hsv(335, 74%, 49%) |
| CMYK | cmyk(0%, 73.8%, 42.9%, 50.6%) |
| CIE-LAB | lab(29.39, 42.86, -0.86) |
| CIE-LCH | lch(29.39, 42.87, 358.85°) |
| OKLab | oklab(40.85% 0.1314 -0.0017) |
| OKLCH | oklch(40.85% 0.131 359.2) |
| XYZ | xyz(10.3185, 5.9925, 6.7429) |
| Luminance | 0.0599 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.97
Wine (survey)
#80013F
ΔE00 3.44
Mulberry
#920A4E
ΔE00 4.13
Reddish Purple
#910951
ΔE00 4.28
Merlot
#730039
ΔE00 4.67
Berry
#990F4B
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2148 #217E57
analogous
#7E2176 #7E2148 #7E2821
triadic
#7E2148 #487E21 #21487E
tetradic
#7E2148 #767E21 #217E57 #28217E
square
#7E2148 #767E21 #217E57 #28217E
split-complementary
#7E2148 #217E28 #21767E
monochromatic
#1D0811 #4E142C #7E2148 #AE2E64 #D04A82
Accessibility & contrast
On white
9.55
#7E2148 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#7E2148 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2148
9.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2148 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2148 | 1.00 | 9.55 | 2.20 | 9.55 |
| #FFFFFF | 9.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#343A49
Deuteranopia (green-blind)
#4D4C46
Tritanopia (blue-blind)
#891531
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7e2148; /* rgb */ color: rgb(126, 33, 72); /* oklch */ color: oklch(40.9% 0.131 359.2);
Tailwind
colors: {
custom: {
50: '#a8647a',
500: '#7e2148',
950: '#000000',
},
}SCSS
$custom: #7e2148; $custom-light: #a8647a; $custom-dark: #000000;
JSON
{
"hex": "#7e2148",
"rgb": {
"r": 126,
"g": 33,
"b": 72
},
"hsl": {
"h": 334.839,
"s": 58.491,
"l": 31.176
},
"oklch": {
"l": 0.40853,
"c": 0.13144,
"h": 359.2
},
"luminance": 0.05991
}Semantic roles & 50–950 ramp
primary
#7E2148
secondary
#4AB186
accent
#E2A046
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B