#7E314E#7E314E
#7E314E is a dark, moderate pink. Relative luminance 0.072; OKLCH L 43.0% C 0.111 H 359.3°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).
Color values
| HEX | #7E314E |
|---|---|
| RGB | rgb(126, 49, 78) |
| HSL | hsl(337, 44%, 34%) |
| HSV | hsv(337, 61%, 49%) |
| CMYK | cmyk(0%, 61.1%, 38.1%, 50.6%) |
| CIE-LAB | lab(32.22, 36.39, -0.66) |
| CIE-LCH | lch(32.22, 36.40, 358.96°) |
| OKLab | oklab(43.01% 0.111 -0.0013) |
| OKLCH | oklch(43.01% 0.111 359.3) |
| XYZ | xyz(11.0783, 7.1835, 8.0094) |
| Luminance | 0.0718 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 6.06
Brownish Purple
#76424E
ΔE00 6.09
Mulberry
#920A4E
ΔE00 6.11
Reddish Purple
#910951
ΔE00 6.28
Wine (survey)
#80013F
ΔE00 6.54
Berry
#990F4B
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E314E #317E61
analogous
#7E3175 #7E314E #7E3B31
triadic
#7E314E #4E7E31 #314E7E
tetradic
#7E314E #757E31 #317E61 #3B317E
square
#7E314E #757E31 #317E61 #3B317E
split-complementary
#7E314E #317E3B #31757E
monochromatic
#260F17 #522033 #7E314E #AA4269 #C36689
Accessibility & contrast
On white
8.62
#7E314E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#7E314E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E314E
8.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E314E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E314E | 1.00 | 8.62 | 2.44 | 8.62 |
| #FFFFFF | 8.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E434F
Deuteranopia (green-blind)
#53514C
Tritanopia (blue-blind)
#882A3C
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #7e314e; /* rgb */ color: rgb(126, 49, 78); /* oklch */ color: oklch(43.0% 0.111 359.3);
Tailwind
colors: {
custom: {
50: '#a76d7f',
500: '#7e314e',
950: '#000000',
},
}SCSS
$custom: #7e314e; $custom-light: #a76d7f; $custom-dark: #000000;
JSON
{
"hex": "#7e314e",
"rgb": {
"r": 126,
"g": 49,
"b": 78
},
"hsl": {
"h": 337.403,
"s": 44,
"l": 34.314
},
"oklch": {
"l": 0.43014,
"c": 0.11099,
"h": 359.3
},
"luminance": 0.07182
}Semantic roles & 50–950 ramp
primary
#7E314E
secondary
#60AB8F
accent
#D4A454
background
#FAF6F7
surface
#F4ECEE
border
#CEC7C9
text
#10070A
muted
#7F7A7C