#7E204B#7E204B
#7E204B is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.9% C 0.134 H 357.0°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).
Color values
| HEX | #7E204B |
|---|---|
| RGB | rgb(126, 32, 75) |
| HSL | hsl(333, 59%, 31%) |
| HSV | hsv(333, 75%, 49%) |
| CMYK | cmyk(0%, 74.6%, 40.5%, 50.6%) |
| CIE-LAB | lab(29.36, 43.58, -2.91) |
| CIE-LCH | lch(29.36, 43.68, 356.18°) |
| OKLab | oklab(40.86% 0.1337 -0.0071) |
| OKLCH | oklch(40.86% 0.134 357) |
| XYZ | xyz(10.3914, 5.9779, 7.2619) |
| Luminance | 0.0598 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.66
Wine (survey)
#80013F
ΔE00 3.75
Reddish Purple
#910951
ΔE00 3.92
Mulberry
#920A4E
ΔE00 4.04
Merlot
#730039
ΔE00 4.85
Dark Magenta
#960056
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E204B #207E53
analogous
#7E207A #7E204B #7E2420
triadic
#7E204B #4B7E20 #204B7E
tetradic
#7E204B #7A7E20 #207E53 #24207E
square
#7E204B #7A7E20 #207E53 #24207E
split-complementary
#7E204B #207E24 #207A7E
monochromatic
#1C0711 #4D142E #7E204B #AF2C68 #D04886
Accessibility & contrast
On white
9.57
#7E204B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#7E204B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E204B
9.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E204B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E204B | 1.00 | 9.57 | 2.20 | 9.57 |
| #FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#333A4C
Deuteranopia (green-blind)
#4C4C49
Tritanopia (blue-blind)
#891532
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7e204b; /* rgb */ color: rgb(126, 32, 75); /* oklch */ color: oklch(40.9% 0.134 357.0);
Tailwind
colors: {
custom: {
50: '#a8647d',
500: '#7e204b',
950: '#000000',
},
}SCSS
$custom: #7e204b; $custom-light: #a8647d; $custom-dark: #000000;
JSON
{
"hex": "#7e204b",
"rgb": {
"r": 126,
"g": 32,
"b": 75
},
"hsl": {
"h": 332.553,
"s": 59.494,
"l": 30.98
},
"oklch": {
"l": 0.4086,
"c": 0.13389,
"h": 357
},
"luminance": 0.05977
}Semantic roles & 50–950 ramp
primary
#7E204B
secondary
#49B181
accent
#E39B45
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B