#7A2F4E#7A2F4E
#7A2F4E is a dark, moderate pink. Relative luminance 0.067; OKLCH L 42.1% C 0.110 H 357.1°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #7A2F4E |
|---|---|
| RGB | rgb(122, 47, 78) |
| HSL | hsl(335, 44%, 33%) |
| HSV | hsv(335, 61%, 48%) |
| CMYK | cmyk(0%, 61.5%, 36.1%, 52.2%) |
| CIE-LAB | lab(31.16, 35.99, -2.29) |
| CIE-LCH | lch(31.16, 36.06, 356.36°) |
| OKLab | oklab(42.09% 0.1097 -0.0056) |
| OKLCH | oklch(42.09% 0.11 357.1) |
| XYZ | xyz(10.4183, 6.7218, 7.9550) |
| Luminance | 0.0672 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 5.69
Mulberry
#920A4E
ΔE00 6.29
Reddish Purple
#910951
ΔE00 6.29
Wine (survey)
#80013F
ΔE00 6.37
Brownish Purple
#76424E
ΔE00 6.64
Merlot
#730039
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A2F4E #2F7A5B
analogous
#7A2F73 #7A2F4E #7A352F
triadic
#7A2F4E #4E7A2F #2F4E7A
tetradic
#7A2F4E #737A2F #2F7A5B #352F7A
square
#7A2F4E #737A2F #2F7A5B #352F7A
split-complementary
#7A2F4E #2F7A35 #2F737A
monochromatic
#220D16 #4E1E32 #7A2F4E #A6406A #C26189
Accessibility & contrast
On white
8.96
#7A2F4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#7A2F4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A2F4E
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A2F4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A2F4E | 1.00 | 8.96 | 2.34 | 8.96 |
| #FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B414F
Deuteranopia (green-blind)
#4F4F4C
Tritanopia (blue-blind)
#83293B
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #7a2f4e; /* rgb */ color: rgb(122, 47, 78); /* oklch */ color: oklch(42.1% 0.110 357.1);
Tailwind
colors: {
custom: {
50: '#a36b7f',
500: '#7a2f4e',
950: '#000000',
},
}SCSS
$custom: #7a2f4e; $custom-light: #a36b7f; $custom-dark: #000000;
JSON
{
"hex": "#7a2f4e",
"rgb": {
"r": 122,
"g": 47,
"b": 78
},
"hsl": {
"h": 335.2,
"s": 44.379,
"l": 33.137
},
"oklch": {
"l": 0.42093,
"c": 0.10985,
"h": 357.1
},
"luminance": 0.06721
}Semantic roles & 50–950 ramp
primary
#7A2F4E
secondary
#5CA989
accent
#D49F54
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#0F070A
muted
#7F7A7C