#7E1245#7E1245
#7E1245 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.5% C 0.146 H 358.6°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1245 |
|---|---|
| RGB | rgb(126, 18, 69) |
| HSL | hsl(332, 75%, 28%) |
| HSV | hsv(332, 86%, 49%) |
| CMYK | cmyk(0%, 85.7%, 45.2%, 50.6%) |
| CIE-LAB | lab(27.57, 47.41, -1.53) |
| CIE-LCH | lch(27.57, 47.44, 358.15°) |
| OKLab | oklab(39.48% 0.146 -0.0034) |
| OKLCH | oklch(39.48% 0.146 358.6) |
| XYZ | xyz(9.8955, 5.2992, 6.1309) |
| Luminance | 0.0530 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 1.18
Wine (survey)
#80013F
ΔE00 1.87
Merlot
#730039
ΔE00 3.17
Mulberry
#920A4E
ΔE00 3.82
Reddish Purple
#910951
ΔE00 3.83
Dark Magenta
#960056
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1245 #127E4B
analogous
#7E127B #7E1245 #7E1512
triadic
#7E1245 #457E12 #12457E
tetradic
#7E1245 #7B7E12 #127E4B #15127E
square
#7E1245 #7B7E12 #127E4B #15127E
split-complementary
#7E1245 #127E15 #127B7E
monochromatic
#1B040F #480A28 #7E1245 #B41A62 #E12A80
Accessibility & contrast
On white
10.20
#7E1245 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#7E1245 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1245
10.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1245 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1245 | 1.00 | 10.20 | 2.06 | 10.20 |
| #FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D3446
Deuteranopia (green-blind)
#4A4843
Tritanopia (blue-blind)
#89002A
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e1245; /* rgb */ color: rgb(126, 18, 69); /* oklch */ color: oklch(39.5% 0.146 358.6);
Tailwind
colors: {
custom: {
50: '#a85f78',
500: '#7e1245',
950: '#000000',
},
}SCSS
$custom: #7e1245; $custom-light: #a85f78; $custom-dark: #000000;
JSON
{
"hex": "#7e1245",
"rgb": {
"r": 126,
"g": 18,
"b": 69
},
"hsl": {
"h": 331.667,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.39484,
"c": 0.14601,
"h": 358.6
},
"luminance": 0.05298
}Semantic roles & 50–950 ramp
primary
#7E1245
secondary
#38B479
accent
#F29936
background
#FAF5F7
surface
#F5EAED
border
#CFC6C8
text
#110509
muted
#80797B