#7F2A4B#7F2A4B
#7F2A4B is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.2% C 0.121 H 359.8°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2A4B |
|---|---|
| RGB | rgb(127, 42, 75) |
| HSL | hsl(337, 50%, 33%) |
| HSV | hsv(337, 67%, 50%) |
| CMYK | cmyk(0%, 66.9%, 40.9%, 50.2%) |
| CIE-LAB | lab(31.06, 39.71, -0.38) |
| CIE-LCH | lch(31.06, 39.71, 359.45°) |
| OKLab | oklab(42.15% 0.1214 -0.0005) |
| OKLCH | oklch(42.15% 0.121 359.8) |
| XYZ | xyz(10.8511, 6.6772, 7.3726) |
| Luminance | 0.0668 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 4.59
Mulberry
#920A4E
ΔE00 4.90
Wine (survey)
#80013F
ΔE00 5.01
Reddish Purple
#910951
ΔE00 5.12
Berry
#990F4B
ΔE00 5.63
Purple Red
#990147
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2A4B #2A7F5E
analogous
#7F2A75 #7F2A4B #7F332A
triadic
#7F2A4B #4B7F2A #2A4B7F
tetradic
#7F2A4B #757F2A #2A7F5E #332A7F
square
#7F2A4B #757F2A #2A7F5E #332A7F
split-complementary
#7F2A4B #2A7F33 #2A757F
monochromatic
#230C15 #511B30 #7F2A4B #AD3966 #C95B85
Accessibility & contrast
On white
8.99
#7F2A4B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#7F2A4B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2A4B
8.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2A4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2A4B | 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)
#3A3F4C
Deuteranopia (green-blind)
#514F49
Tritanopia (blue-blind)
#892137
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #7f2a4b; /* rgb */ color: rgb(127, 42, 75); /* oklch */ color: oklch(42.2% 0.121 359.8);
Tailwind
colors: {
custom: {
50: '#a8697d',
500: '#7f2a4b',
950: '#000000',
},
}SCSS
$custom: #7f2a4b; $custom-light: #a8697d; $custom-dark: #000000;
JSON
{
"hex": "#7f2a4b",
"rgb": {
"r": 127,
"g": 42,
"b": 75
},
"hsl": {
"h": 336.706,
"s": 50.296,
"l": 33.137
},
"oklch": {
"l": 0.42153,
"c": 0.12143,
"h": 359.8
},
"luminance": 0.06676
}Semantic roles & 50–950 ramp
primary
#7F2A4B
secondary
#57AE8C
accent
#DAA44E
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100709
muted
#7F7A7B