#7E1F5D#7E1F5D
#7E1F5D is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.5% C 0.145 H 345.2°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1F5D |
|---|---|
| RGB | rgb(126, 31, 93) |
| HSL | hsl(321, 61%, 31%) |
| HSV | hsv(321, 75%, 49%) |
| CMYK | cmyk(0%, 75.4%, 26.2%, 50.6%) |
| CIE-LAB | lab(29.93, 46.21, -13.87) |
| CIE-LCH | lch(29.93, 48.25, 343.29°) |
| OKLab | oklab(41.51% 0.1399 -0.0369) |
| OKLCH | oklch(41.51% 0.145 345.2) |
| XYZ | xyz(11.0704, 6.2071, 10.9689) |
| Luminance | 0.0621 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.53
Rich Purple
#720058
ΔE00 4.67
Grape
#6C3461
ΔE00 5.89
Red Violet
#9E0168
ΔE00 5.93
Dark Magenta
#960056
ΔE00 5.97
Reddish Purple
#910951
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1F5D #1F7E40
analogous
#6F1F7E #7E1F5D #7E1F2D
triadic
#7E1F5D #5D7E1F #1F5D7E
tetradic
#7E1F5D #7E6F1F #1F7E40 #1F2D7E
square
#7E1F5D #7E6F1F #1F7E40 #1F2D7E
split-complementary
#7E1F5D #2D7E1F #1F7E6F
monochromatic
#1C0714 #4D1339 #7E1F5D #AF2B81 #D146A1
Accessibility & contrast
On white
9.37
#7E1F5D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#7E1F5D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1F5D
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1F5D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1F5D | 1.00 | 9.37 | 2.24 | 9.37 |
| #FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B3C5F
Deuteranopia (green-blind)
#474C5B
Tritanopia (blue-blind)
#871D3B
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7e1f5d; /* rgb */ color: rgb(126, 31, 93); /* oklch */ color: oklch(41.5% 0.145 345.2);
Tailwind
colors: {
custom: {
50: '#a7648b',
500: '#7e1f5d',
950: '#000000',
},
}SCSS
$custom: #7e1f5d; $custom-light: #a7648b; $custom-dark: #000000;
JSON
{
"hex": "#7e1f5d",
"rgb": {
"r": 126,
"g": 31,
"b": 93
},
"hsl": {
"h": 320.842,
"s": 60.51,
"l": 30.784
},
"oklch": {
"l": 0.41509,
"c": 0.14468,
"h": 345.2
},
"luminance": 0.06206
}Semantic roles & 50–950 ramp
primary
#7E1F5D
secondary
#48B16C
accent
#E47C44
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D