#7E1F5F#7E1F5F
#7E1F5F is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.6% C 0.146 H 344.0°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1F5F |
|---|---|
| RGB | rgb(126, 31, 95) |
| HSL | hsl(320, 61%, 31%) |
| HSV | hsv(320, 75%, 49%) |
| CMYK | cmyk(0%, 75.4%, 24.6%, 50.6%) |
| CIE-LAB | lab(30.02, 46.49, -15.04) |
| CIE-LCH | lch(30.02, 48.86, 342.08°) |
| OKLab | oklab(41.6% 0.1403 -0.0401) |
| OKLCH | oklch(41.6% 0.146 344) |
| XYZ | xyz(11.1602, 6.2430, 11.4415) |
| Luminance | 0.0624 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.70
Rich Purple
#720058
ΔE00 4.50
Grape
#6C3461
ΔE00 5.77
Red Violet
#9E0168
ΔE00 5.96
Dark Magenta
#960056
ΔE00 6.31
Reddish Purple
#910951
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1F5F #1F7E3E
analogous
#6D1F7E #7E1F5F #7E1F2F
triadic
#7E1F5F #5F7E1F #1F5F7E
tetradic
#7E1F5F #7E6D1F #1F7E3E #1F2F7E
square
#7E1F5F #7E6D1F #1F7E3E #1F2F7E
split-complementary
#7E1F5F #2F7E1F #1F7E6D
monochromatic
#1C0715 #4D133A #7E1F5F #AF2B84 #D146A4
Accessibility & contrast
On white
9.34
#7E1F5F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#7E1F5F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1F5F
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1F5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1F5F | 1.00 | 9.34 | 2.25 | 9.34 |
| #FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A3D61
Deuteranopia (green-blind)
#474C5D
Tritanopia (blue-blind)
#871E3C
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7e1f5f; /* rgb */ color: rgb(126, 31, 95); /* oklch */ color: oklch(41.6% 0.146 344.0);
Tailwind
colors: {
custom: {
50: '#a7648c',
500: '#7e1f5f',
950: '#000000',
},
}SCSS
$custom: #7e1f5f; $custom-light: #a7648c; $custom-dark: #000000;
JSON
{
"hex": "#7e1f5f",
"rgb": {
"r": 126,
"g": 31,
"b": 95
},
"hsl": {
"h": 319.579,
"s": 60.51,
"l": 30.784
},
"oklch": {
"l": 0.41602,
"c": 0.14596,
"h": 344
},
"luminance": 0.06242
}Semantic roles & 50–950 ramp
primary
#7E1F5F
secondary
#48B16A
accent
#E47844
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D