#7F2D52#7F2D52
#7F2D52 is a dark, moderate pink. Relative luminance 0.070; OKLCH L 42.8% C 0.120 H 355.4°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2D52 |
|---|---|
| RGB | rgb(127, 45, 82) |
| HSL | hsl(333, 48%, 34%) |
| HSV | hsv(333, 65%, 50%) |
| CMYK | cmyk(0%, 64.6%, 35.4%, 50.2%) |
| CIE-LAB | lab(31.81, 39.18, -3.86) |
| CIE-LCH | lch(31.81, 39.37, 354.38°) |
| OKLab | oklab(42.78% 0.1196 -0.0097) |
| OKLCH | oklch(42.78% 0.12 355.4) |
| XYZ | xyz(11.2144, 6.9992, 8.7414) |
| Luminance | 0.0700 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 5.07
Reddish Purple
#910951
ΔE00 5.16
Mulberry
#920A4E
ΔE00 5.32
Dark Magenta
#960056
ΔE00 5.94
Wine (survey)
#80013F
ΔE00 6.15
Dark Fuchsia
#9D0759
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2D52 #2D7F5A
analogous
#7F2D7B #7F2D52 #7F312D
triadic
#7F2D52 #527F2D #2D527F
tetradic
#7F2D52 #7B7F2D #2D7F5A #312D7F
square
#7F2D52 #7B7F2D #2D7F5A #312D7F
split-complementary
#7F2D52 #2D7F31 #2D7B7F
monochromatic
#250D18 #521D35 #7F2D52 #AC3D6F #C7608E
Accessibility & contrast
On white
8.75
#7F2D52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#7F2D52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2D52
8.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2D52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2D52 | 1.00 | 8.75 | 2.40 | 8.75 |
| #FFFFFF | 8.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A4153
Deuteranopia (green-blind)
#515050
Tritanopia (blue-blind)
#89273C
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #7f2d52; /* rgb */ color: rgb(127, 45, 82); /* oklch */ color: oklch(42.8% 0.120 355.4);
Tailwind
colors: {
custom: {
50: '#a76b82',
500: '#7f2d52',
950: '#000000',
},
}SCSS
$custom: #7f2d52; $custom-light: #a76b82; $custom-dark: #000000;
JSON
{
"hex": "#7f2d52",
"rgb": {
"r": 127,
"g": 45,
"b": 82
},
"hsl": {
"h": 332.927,
"s": 47.674,
"l": 33.725
},
"oklch": {
"l": 0.42782,
"c": 0.11994,
"h": 355.4
},
"luminance": 0.06998
}Semantic roles & 50–950 ramp
primary
#7F2D52
secondary
#5BAD88
accent
#D79A51
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C