#7E274A#7E274A
#7E274A is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.6% C 0.124 H 359.3°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #7E274A |
|---|---|
| RGB | rgb(126, 39, 74) |
| HSL | hsl(336, 53%, 32%) |
| HSV | hsv(336, 69%, 49%) |
| CMYK | cmyk(0%, 69%, 41.3%, 50.6%) |
| CIE-LAB | lab(30.36, 40.60, -0.77) |
| CIE-LCH | lch(30.36, 40.61, 358.91°) |
| OKLab | oklab(41.59% 0.1243 -0.0015) |
| OKLCH | oklch(41.59% 0.124 359.3) |
| XYZ | xyz(10.5664, 6.3823, 7.1527) |
| Luminance | 0.0638 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 4.00
Wine (survey)
#80013F
ΔE00 4.47
Mulberry
#920A4E
ΔE00 4.65
Reddish Purple
#910951
ΔE00 4.82
Berry
#990F4B
ΔE00 5.62
Merlot
#730039
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E274A #277E5B
analogous
#7E2776 #7E274A #7E3027
triadic
#7E274A #4A7E27 #274A7E
tetradic
#7E274A #767E27 #277E5B #30277E
square
#7E274A #767E27 #277E5B #30277E
split-complementary
#7E274A #277E30 #27767E
monochromatic
#210A13 #4F192F #7E274A #AD3565 #CA5584
Accessibility & contrast
On white
9.23
#7E274A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#7E274A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E274A
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E274A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E274A | 1.00 | 9.23 | 2.28 | 9.23 |
| #FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383D4B
Deuteranopia (green-blind)
#4F4E48
Tritanopia (blue-blind)
#881E35
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7e274a; /* rgb */ color: rgb(126, 39, 74); /* oklch */ color: oklch(41.6% 0.124 359.3);
Tailwind
colors: {
custom: {
50: '#a7677c',
500: '#7e274a',
950: '#000000',
},
}SCSS
$custom: #7e274a; $custom-light: #a7677c; $custom-dark: #000000;
JSON
{
"hex": "#7e274a",
"rgb": {
"r": 126,
"g": 39,
"b": 74
},
"hsl": {
"h": 335.862,
"s": 52.727,
"l": 32.353
},
"oklch": {
"l": 0.41587,
"c": 0.12428,
"h": 359.3
},
"luminance": 0.06381
}Semantic roles & 50–950 ramp
primary
#7E274A
secondary
#52AF8A
accent
#DCA24C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B