#7E304B#7E304B
#7E304B is a dark, moderate pink. Relative luminance 0.071; OKLCH L 42.8% C 0.111 H 1.4°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #7E304B |
|---|---|
| RGB | rgb(126, 48, 75) |
| HSL | hsl(339, 45%, 34%) |
| HSV | hsv(339, 62%, 49%) |
| CMYK | cmyk(0%, 61.9%, 40.5%, 50.6%) |
| CIE-LAB | lab(31.94, 36.52, 0.88) |
| CIE-LCH | lch(31.94, 36.53, 1.39°) |
| OKLab | oklab(42.77% 0.1114 0.0027) |
| OKLCH | oklch(42.77% 0.111 1.4) |
| XYZ | xyz(10.9318, 7.0587, 7.4420) |
| Luminance | 0.0706 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Brownish Purple
#76424E
ΔE00 5.96
Red Purple
#820747
ΔE00 6.09
Mulberry
#920A4E
ΔE00 6.14
Wine (survey)
#80013F
ΔE00 6.28
Berry
#990F4B
ΔE00 6.39
Reddish Purple
#910951
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E304B #307E63
analogous
#7E3072 #7E304B #7E3C30
triadic
#7E304B #4B7E30 #304B7E
tetradic
#7E304B #727E30 #307E63 #3C307E
square
#7E304B #727E30 #307E63 #3C307E
split-complementary
#7E304B #307E3C #30727E
monochromatic
#250E16 #521F31 #7E304B #AA4165 #C46485
Accessibility & contrast
On white
8.71
#7E304B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#7E304B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E304B
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E304B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E304B | 1.00 | 8.71 | 2.41 | 8.71 |
| #FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E424C
Deuteranopia (green-blind)
#535149
Tritanopia (blue-blind)
#88283A
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #7e304b; /* rgb */ color: rgb(126, 48, 75); /* oklch */ color: oklch(42.8% 0.111 1.4);
Tailwind
colors: {
custom: {
50: '#a76c7d',
500: '#7e304b',
950: '#000000',
},
}SCSS
$custom: #7e304b; $custom-light: #a76c7d; $custom-dark: #000000;
JSON
{
"hex": "#7e304b",
"rgb": {
"r": 126,
"g": 48,
"b": 75
},
"hsl": {
"h": 339.231,
"s": 44.828,
"l": 34.118
},
"oklch": {
"l": 0.42773,
"c": 0.11144,
"h": 1.4
},
"luminance": 0.07058
}Semantic roles & 50–950 ramp
primary
#7E304B
secondary
#5FAB91
accent
#D5A853
background
#FAF6F7
surface
#F4ECEE
border
#CEC7C9
text
#100709
muted
#7F7A7B