#7F2B52#7F2B52
#7F2B52 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.5% C 0.123 H 354.9°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2B52 |
|---|---|
| RGB | rgb(127, 43, 82) |
| HSL | hsl(332, 49%, 33%) |
| HSV | hsv(332, 66%, 50%) |
| CMYK | cmyk(0%, 66.1%, 35.4%, 50.2%) |
| CIE-LAB | lab(31.46, 40.11, -4.36) |
| CIE-LCH | lch(31.46, 40.34, 353.79°) |
| OKLab | oklab(42.53% 0.1225 -0.011) |
| OKLCH | oklch(42.53% 0.123 354.9) |
| XYZ | xyz(11.1399, 6.8502, 8.7166) |
| Luminance | 0.0685 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 4.70
Reddish Purple
#910951
ΔE00 4.86
Mulberry
#920A4E
ΔE00 5.08
Dark Magenta
#960056
ΔE00 5.63
Wine (survey)
#80013F
ΔE00 5.90
Dark Fuchsia
#9D0759
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2B52 #2B7F58
analogous
#7F2B7C #7F2B52 #7F2E2B
triadic
#7F2B52 #527F2B #2B527F
tetradic
#7F2B52 #7C7F2B #2B7F58 #2E2B7F
square
#7F2B52 #7C7F2B #2B7F58 #2E2B7F
split-complementary
#7F2B52 #2B7F2E #2B7C7F
monochromatic
#240C17 #511C34 #7F2B52 #AD3A70 #C85C8E
Accessibility & contrast
On white
8.86
#7F2B52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#7F2B52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2B52
8.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2B52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2B52 | 1.00 | 8.86 | 2.37 | 8.86 |
| #FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#394053
Deuteranopia (green-blind)
#505050
Tritanopia (blue-blind)
#89253B
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #7f2b52; /* rgb */ color: rgb(127, 43, 82); /* oklch */ color: oklch(42.5% 0.123 354.9);
Tailwind
colors: {
custom: {
50: '#a76a82',
500: '#7f2b52',
950: '#000000',
},
}SCSS
$custom: #7f2b52; $custom-light: #a76a82; $custom-dark: #000000;
JSON
{
"hex": "#7f2b52",
"rgb": {
"r": 127,
"g": 43,
"b": 82
},
"hsl": {
"h": 332.143,
"s": 49.412,
"l": 33.333
},
"oklch": {
"l": 0.42529,
"c": 0.12294,
"h": 354.9
},
"luminance": 0.06849
}Semantic roles & 50–950 ramp
primary
#7F2B52
secondary
#58AE86
accent
#D9994F
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C