#7E1F4B#7E1F4B
#7E1F4B is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.8% C 0.135 H 356.8°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1F4B |
|---|---|
| RGB | rgb(126, 31, 75) |
| HSL | hsl(332, 61%, 31%) |
| HSV | hsv(332, 75%, 49%) |
| CMYK | cmyk(0%, 75.4%, 40.5%, 50.6%) |
| CIE-LAB | lab(29.22, 43.96, -3.10) |
| CIE-LCH | lch(29.22, 44.07, 355.96°) |
| OKLab | oklab(40.76% 0.1349 -0.0076) |
| OKLCH | oklch(40.76% 0.135 356.8) |
| XYZ | xyz(10.3649, 5.9249, 7.2530) |
| Luminance | 0.0592 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.51
Wine (survey)
#80013F
ΔE00 3.68
Reddish Purple
#910951
ΔE00 3.84
Mulberry
#920A4E
ΔE00 4.00
Merlot
#730039
ΔE00 4.76
Dark Magenta
#960056
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1F4B #1F7E52
analogous
#7E1F7A #7E1F4B #7E231F
triadic
#7E1F4B #4B7E1F #1F4B7E
tetradic
#7E1F4B #7A7E1F #1F7E52 #231F7E
square
#7E1F4B #7A7E1F #1F7E52 #231F7E
split-complementary
#7E1F4B #1F7E23 #1F7A7E
monochromatic
#1C0711 #4D132E #7E1F4B #AF2B68 #D14687
Accessibility & contrast
On white
9.61
#7E1F4B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#7E1F4B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1F4B
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1F4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1F4B | 1.00 | 9.61 | 2.18 | 9.61 |
| #FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#323A4C
Deuteranopia (green-blind)
#4C4B49
Tritanopia (blue-blind)
#891432
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7e1f4b; /* rgb */ color: rgb(126, 31, 75); /* oklch */ color: oklch(40.8% 0.135 356.8);
Tailwind
colors: {
custom: {
50: '#a8647d',
500: '#7e1f4b',
950: '#000000',
},
}SCSS
$custom: #7e1f4b; $custom-light: #a8647d; $custom-dark: #000000;
JSON
{
"hex": "#7e1f4b",
"rgb": {
"r": 126,
"g": 31,
"b": 75
},
"hsl": {
"h": 332.211,
"s": 60.51,
"l": 30.784
},
"oklch": {
"l": 0.40761,
"c": 0.1351,
"h": 356.8
},
"luminance": 0.05924
}Semantic roles & 50–950 ramp
primary
#7E1F4B
secondary
#48B180
accent
#E49A44
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B