#7E314B#7E314B
#7E314B is a dark, moderate pink. Relative luminance 0.071; OKLCH L 42.9% C 0.110 H 1.8°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).
Color values
| HEX | #7E314B |
|---|---|
| RGB | rgb(126, 49, 75) |
| HSL | hsl(340, 44%, 34%) |
| HSV | hsv(340, 61%, 49%) |
| CMYK | cmyk(0%, 61.1%, 40.5%, 50.6%) |
| CIE-LAB | lab(32.13, 36.02, 1.15) |
| CIE-LCH | lch(32.13, 36.04, 1.84°) |
| OKLab | oklab(42.91% 0.1099 0.0034) |
| OKLCH | oklch(42.91% 0.11 1.8) |
| XYZ | xyz(10.9732, 7.1414, 7.4558) |
| Luminance | 0.0714 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Brownish Purple
#76424E
ΔE00 5.71
Mulberry
#920A4E
ΔE00 6.36
Red Purple
#820747
ΔE00 6.37
Wine (survey)
#80013F
ΔE00 6.52
Berry
#990F4B
ΔE00 6.52
Wine
#722F37
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E314B #317E64
analogous
#7E3172 #7E314B #7E3E31
triadic
#7E314B #4B7E31 #314B7E
tetradic
#7E314B #727E31 #317E64 #3E317E
square
#7E314B #727E31 #317E64 #3E317E
split-complementary
#7E314B #317E3E #31727E
monochromatic
#260F17 #522031 #7E314B #AA4265 #C36686
Accessibility & contrast
On white
8.65
#7E314B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#7E314B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E314B
8.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E314B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E314B | 1.00 | 8.65 | 2.43 | 8.65 |
| #FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F424C
Deuteranopia (green-blind)
#535149
Tritanopia (blue-blind)
#88293B
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #7e314b; /* rgb */ color: rgb(126, 49, 75); /* oklch */ color: oklch(42.9% 0.110 1.8);
Tailwind
colors: {
custom: {
50: '#a76d7d',
500: '#7e314b',
950: '#000000',
},
}SCSS
$custom: #7e314b; $custom-light: #a76d7d; $custom-dark: #000000;
JSON
{
"hex": "#7e314b",
"rgb": {
"r": 126,
"g": 49,
"b": 75
},
"hsl": {
"h": 339.74,
"s": 44,
"l": 34.314
},
"oklch": {
"l": 0.42913,
"c": 0.1099,
"h": 1.8
},
"luminance": 0.0714
}Semantic roles & 50–950 ramp
primary
#7E314B
secondary
#60AB92
accent
#D4A954
background
#FAF6F7
surface
#F4ECEE
border
#CEC7C9
text
#100709
muted
#7F7A7B