#7E1952#7E1952
#7E1952 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.145 H 351.3°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1952 |
|---|---|
| RGB | rgb(126, 25, 82) |
| HSL | hsl(326, 67%, 30%) |
| HSV | hsv(326, 80%, 49%) |
| CMYK | cmyk(0%, 80.2%, 34.9%, 50.6%) |
| CIE-LAB | lab(28.75, 46.84, -8.45) |
| CIE-LCH | lch(28.75, 47.59, 349.78°) |
| OKLab | oklab(40.5% 0.1436 -0.0219) |
| OKLCH | oklch(40.5% 0.145 351.3) |
| XYZ | xyz(10.4754, 5.7413, 8.5376) |
| Luminance | 0.0574 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.30
Red Purple
#820747
ΔE00 3.35
Reddish Purple
#910951
ΔE00 4.19
Dark Magenta
#960056
ΔE00 4.64
Mulberry
#920A4E
ΔE00 4.94
Wine (survey)
#80013F
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1952 #197E45
analogous
#78197E #7E1952 #7E191F
triadic
#7E1952 #527E19 #19527E
tetradic
#7E1952 #7E7819 #197E45 #191F7E
square
#7E1952 #7E7819 #197E45 #191F7E
split-complementary
#7E1952 #1F7E19 #197E78
monochromatic
#1A0511 #4B0F31 #7E1952 #B12373 #D83A93
Accessibility & contrast
On white
9.78
#7E1952 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7E1952 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1952
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1952 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1952 | 1.00 | 9.78 | 2.15 | 9.78 |
| #FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C3853
Deuteranopia (green-blind)
#494A50
Tritanopia (blue-blind)
#881033
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e1952; /* rgb */ color: rgb(126, 25, 82); /* oklch */ color: oklch(40.5% 0.145 351.3);
Tailwind
colors: {
custom: {
50: '#a86182',
500: '#7e1952',
950: '#000000',
},
}SCSS
$custom: #7e1952; $custom-light: #a86182; $custom-dark: #000000;
JSON
{
"hex": "#7e1952",
"rgb": {
"r": 126,
"g": 25,
"b": 82
},
"hsl": {
"h": 326.139,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.405,
"c": 0.14523,
"h": 351.3
},
"luminance": 0.0574
}Semantic roles & 50–950 ramp
primary
#7E1952
secondary
#41B272
accent
#EA893E
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C