#7E314D#7E314D
#7E314D is a dark, moderate pink. Relative luminance 0.072; OKLCH L 43.0% C 0.111 H 0.2°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).
Color values
| HEX | #7E314D |
|---|---|
| RGB | rgb(126, 49, 77) |
| HSL | hsl(338, 44%, 34%) |
| HSV | hsv(338, 61%, 49%) |
| CMYK | cmyk(0%, 61.1%, 38.9%, 50.6%) |
| CIE-LAB | lab(32.19, 36.26, -0.06) |
| CIE-LCH | lch(32.19, 36.26, 359.91°) |
| OKLab | oklab(42.98% 0.1106 0.0003) |
| OKLCH | oklch(42.98% 0.111 0.2) |
| XYZ | xyz(11.0427, 7.1693, 7.8220) |
| Luminance | 0.0717 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Brownish Purple
#76424E
ΔE00 5.95
Red Purple
#820747
ΔE00 6.14
Mulberry
#920A4E
ΔE00 6.18
Reddish Purple
#910951
ΔE00 6.40
Wine (survey)
#80013F
ΔE00 6.51
Berry
#990F4B
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E314D #317E62
analogous
#7E3174 #7E314D #7E3C31
triadic
#7E314D #4D7E31 #314D7E
tetradic
#7E314D #747E31 #317E62 #3C317E
square
#7E314D #747E31 #317E62 #3C317E
split-complementary
#7E314D #317E3C #31747E
monochromatic
#260F17 #522032 #7E314D #AA4268 #C36688
Accessibility & contrast
On white
8.63
#7E314D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#7E314D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E314D
8.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E314D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E314D | 1.00 | 8.63 | 2.43 | 8.63 |
| #FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E434E
Deuteranopia (green-blind)
#53514B
Tritanopia (blue-blind)
#882A3C
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #7e314d; /* rgb */ color: rgb(126, 49, 77); /* oklch */ color: oklch(43.0% 0.111 0.2);
Tailwind
colors: {
custom: {
50: '#a76d7e',
500: '#7e314d',
950: '#000000',
},
}SCSS
$custom: #7e314d; $custom-light: #a76d7e; $custom-dark: #000000;
JSON
{
"hex": "#7e314d",
"rgb": {
"r": 126,
"g": 49,
"b": 77
},
"hsl": {
"h": 338.182,
"s": 44,
"l": 34.314
},
"oklch": {
"l": 0.4298,
"c": 0.11061,
"h": 0.2
},
"luminance": 0.07168
}Semantic roles & 50–950 ramp
primary
#7E314D
secondary
#60AB90
accent
#D4A554
background
#FAF6F7
surface
#F4ECEE
border
#CEC7C9
text
#10070A
muted
#7F7A7C