#7F2C52#7F2C52
#7F2C52 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.7% C 0.121 H 355.1°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2C52 |
|---|---|
| RGB | rgb(127, 44, 82) |
| HSL | hsl(333, 49%, 34%) |
| HSV | hsv(333, 65%, 50%) |
| CMYK | cmyk(0%, 65.4%, 35.4%, 50.2%) |
| CIE-LAB | lab(31.63, 39.65, -4.11) |
| CIE-LCH | lch(31.63, 39.86, 354.08°) |
| OKLab | oklab(42.65% 0.121 -0.0103) |
| OKLCH | oklch(42.65% 0.121 355.1) |
| XYZ | xyz(11.1767, 6.9238, 8.7288) |
| Luminance | 0.0692 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 4.88
Reddish Purple
#910951
ΔE00 5.00
Mulberry
#920A4E
ΔE00 5.19
Dark Magenta
#960056
ΔE00 5.78
Wine (survey)
#80013F
ΔE00 6.02
Dark Fuchsia
#9D0759
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2C52 #2C7F59
analogous
#7F2C7B #7F2C52 #7F2F2C
triadic
#7F2C52 #527F2C #2C527F
tetradic
#7F2C52 #7B7F2C #2C7F59 #2F2C7F
square
#7F2C52 #7B7F2C #2C7F59 #2F2C7F
split-complementary
#7F2C52 #2C7F2F #2C7B7F
monochromatic
#240D17 #521C35 #7F2C52 #AC3C6F #C75E8E
Accessibility & contrast
On white
8.81
#7F2C52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#7F2C52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2C52
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2C52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2C52 | 1.00 | 8.81 | 2.38 | 8.81 |
| #FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#394153
Deuteranopia (green-blind)
#505050
Tritanopia (blue-blind)
#89263B
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #7f2c52; /* rgb */ color: rgb(127, 44, 82); /* oklch */ color: oklch(42.7% 0.121 355.1);
Tailwind
colors: {
custom: {
50: '#a76a82',
500: '#7f2c52',
950: '#000000',
},
}SCSS
$custom: #7f2c52; $custom-light: #a76a82; $custom-dark: #000000;
JSON
{
"hex": "#7f2c52",
"rgb": {
"r": 127,
"g": 44,
"b": 82
},
"hsl": {
"h": 332.53,
"s": 48.538,
"l": 33.529
},
"oklch": {
"l": 0.42654,
"c": 0.12145,
"h": 355.1
},
"luminance": 0.06923
}Semantic roles & 50–950 ramp
primary
#7F2C52
secondary
#59AD87
accent
#D89A50
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C