#7A2F4B#7A2F4B
#7A2F4B is a dark, moderate pink. Relative luminance 0.067; OKLCH L 42.0% C 0.109 H 359.6°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).
Color values
| HEX | #7A2F4B |
|---|---|
| RGB | rgb(122, 47, 75) |
| HSL | hsl(338, 44%, 33%) |
| HSV | hsv(338, 61%, 48%) |
| CMYK | cmyk(0%, 61.5%, 38.5%, 52.2%) |
| CIE-LAB | lab(31.07, 35.61, -0.47) |
| CIE-LCH | lch(31.07, 35.61, 359.24°) |
| OKLab | oklab(41.99% 0.1086 -0.0008) |
| OKLCH | oklch(41.99% 0.109 359.6) |
| XYZ | xyz(10.3131, 6.6797, 7.4014) |
| Luminance | 0.0668 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 5.86
Brownish Purple
#76424E
ΔE00 6.16
Wine (survey)
#80013F
ΔE00 6.21
Mulberry
#920A4E
ΔE00 6.39
Reddish Purple
#910951
ΔE00 6.56
Merlot
#730039
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A2F4B #2F7A5E
analogous
#7A2F70 #7A2F4B #7A382F
triadic
#7A2F4B #4B7A2F #2F4B7A
tetradic
#7A2F4B #707A2F #2F7A5E #382F7A
square
#7A2F4B #707A2F #2F7A5E #382F7A
split-complementary
#7A2F4B #2F7A38 #2F707A
monochromatic
#220D15 #4E1E30 #7A2F4B #A64066 #C26185
Accessibility & contrast
On white
8.99
#7A2F4B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#7A2F4B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A2F4B
8.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A2F4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A2F4B | 1.00 | 8.99 | 2.34 | 8.99 |
| #FFFFFF | 8.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C404C
Deuteranopia (green-blind)
#504E49
Tritanopia (blue-blind)
#84283A
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #7a2f4b; /* rgb */ color: rgb(122, 47, 75); /* oklch */ color: oklch(42.0% 0.109 359.6);
Tailwind
colors: {
custom: {
50: '#a46b7d',
500: '#7a2f4b',
950: '#000000',
},
}SCSS
$custom: #7a2f4b; $custom-light: #a46b7d; $custom-dark: #000000;
JSON
{
"hex": "#7a2f4b",
"rgb": {
"r": 122,
"g": 47,
"b": 75
},
"hsl": {
"h": 337.6,
"s": 44.379,
"l": 33.137
},
"oklch": {
"l": 0.41987,
"c": 0.10861,
"h": 359.6
},
"luminance": 0.06679
}Semantic roles & 50–950 ramp
primary
#7A2F4B
secondary
#5CA98C
accent
#D4A454
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100709
muted
#7F7A7B