#7A2F4D#7A2F4D
#7A2F4D is a dark, moderate pink. Relative luminance 0.067; OKLCH L 42.1% C 0.109 H 357.9°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #7A2F4D |
|---|---|
| RGB | rgb(122, 47, 77) |
| HSL | hsl(336, 44%, 33%) |
| HSV | hsv(336, 61%, 48%) |
| CMYK | cmyk(0%, 61.5%, 36.9%, 52.2%) |
| CIE-LAB | lab(31.13, 35.86, -1.69) |
| CIE-LCH | lch(31.13, 35.90, 357.31°) |
| OKLab | oklab(42.06% 0.1094 -0.004) |
| OKLCH | oklch(42.06% 0.109 357.9) |
| XYZ | xyz(10.3827, 6.7075, 7.7676) |
| Luminance | 0.0671 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 5.73
Wine (survey)
#80013F
ΔE00 6.30
Mulberry
#920A4E
ΔE00 6.30
Reddish Purple
#910951
ΔE00 6.36
Brownish Purple
#76424E
ΔE00 6.47
Merlot
#730039
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A2F4D #2F7A5C
analogous
#7A2F72 #7A2F4D #7A362F
triadic
#7A2F4D #4D7A2F #2F4D7A
tetradic
#7A2F4D #727A2F #2F7A5C #362F7A
square
#7A2F4D #727A2F #2F7A5C #362F7A
split-complementary
#7A2F4D #2F7A36 #2F727A
monochromatic
#220D15 #4E1E31 #7A2F4D #A64069 #C26188
Accessibility & contrast
On white
8.97
#7A2F4D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#7A2F4D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A2F4D
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A2F4D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A2F4D | 1.00 | 8.97 | 2.34 | 8.97 |
| #FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B404E
Deuteranopia (green-blind)
#4F4E4B
Tritanopia (blue-blind)
#84293B
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #7a2f4d; /* rgb */ color: rgb(122, 47, 77); /* oklch */ color: oklch(42.1% 0.109 357.9);
Tailwind
colors: {
custom: {
50: '#a36b7e',
500: '#7a2f4d',
950: '#000000',
},
}SCSS
$custom: #7a2f4d; $custom-light: #a36b7e; $custom-dark: #000000;
JSON
{
"hex": "#7a2f4d",
"rgb": {
"r": 122,
"g": 47,
"b": 77
},
"hsl": {
"h": 336,
"s": 44.379,
"l": 33.137
},
"oklch": {
"l": 0.42057,
"c": 0.10942,
"h": 357.9
},
"luminance": 0.06706
}Semantic roles & 50–950 ramp
primary
#7A2F4D
secondary
#5CA98A
accent
#D4A154
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C