#7F2A52#7F2A52
#7F2A52 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.4% C 0.124 H 354.6°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2A52 |
|---|---|
| RGB | rgb(127, 42, 82) |
| HSL | hsl(332, 50%, 33%) |
| HSV | hsv(332, 67%, 50%) |
| CMYK | cmyk(0%, 66.9%, 35.4%, 50.2%) |
| CIE-LAB | lab(31.30, 40.56, -4.61) |
| CIE-LCH | lch(31.30, 40.82, 353.51°) |
| OKLab | oklab(42.41% 0.1239 -0.0117) |
| OKLCH | oklch(42.41% 0.124 354.6) |
| XYZ | xyz(11.1040, 6.7784, 8.7046) |
| Luminance | 0.0678 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 4.54
Reddish Purple
#910951
ΔE00 4.72
Mulberry
#920A4E
ΔE00 4.98
Dark Magenta
#960056
ΔE00 5.48
Wine (survey)
#80013F
ΔE00 5.79
Dark Fuchsia
#9D0759
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2A52 #2A7F57
analogous
#7F2A7C #7F2A52 #7F2C2A
triadic
#7F2A52 #527F2A #2A527F
tetradic
#7F2A52 #7C7F2A #2A7F57 #2C2A7F
square
#7F2A52 #7C7F2A #2A7F57 #2C2A7F
split-complementary
#7F2A52 #2A7F2C #2A7C7F
monochromatic
#230C17 #511B34 #7F2A52 #AD3970 #C95B8E
Accessibility & contrast
On white
8.92
#7F2A52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#7F2A52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2A52
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2A52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2A52 | 1.00 | 8.92 | 2.36 | 8.92 |
| #FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#384053
Deuteranopia (green-blind)
#4F4F50
Tritanopia (blue-blind)
#89243A
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #7f2a52; /* rgb */ color: rgb(127, 42, 82); /* oklch */ color: oklch(42.4% 0.124 354.6);
Tailwind
colors: {
custom: {
50: '#a86982',
500: '#7f2a52',
950: '#000000',
},
}SCSS
$custom: #7f2a52; $custom-light: #a86982; $custom-dark: #000000;
JSON
{
"hex": "#7f2a52",
"rgb": {
"r": 127,
"g": 42,
"b": 82
},
"hsl": {
"h": 331.765,
"s": 50.296,
"l": 33.137
},
"oklch": {
"l": 0.42406,
"c": 0.12442,
"h": 354.6
},
"luminance": 0.06777
}Semantic roles & 50–950 ramp
primary
#7F2A52
secondary
#57AE85
accent
#DA984E
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C