#7F2D4A#7F2D4A
#7F2D4A is a dark, moderate pink. Relative luminance 0.069; OKLCH L 42.5% C 0.117 H 1.5°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2D4A |
|---|---|
| RGB | rgb(127, 45, 74) |
| HSL | hsl(339, 48%, 34%) |
| HSV | hsv(339, 65%, 50%) |
| CMYK | cmyk(0%, 64.6%, 41.7%, 50.2%) |
| CIE-LAB | lab(31.54, 38.20, 0.98) |
| CIE-LCH | lch(31.54, 38.21, 1.47°) |
| OKLab | oklab(42.5% 0.1167 0.003) |
| OKLCH | oklch(42.5% 0.117 1.5) |
| XYZ | xyz(10.9275, 6.8845, 7.2306) |
| Luminance | 0.0688 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 5.45
Mulberry
#920A4E
ΔE00 5.54
Wine (survey)
#80013F
ΔE00 5.60
Berry
#990F4B
ΔE00 5.84
Reddish Purple
#910951
ΔE00 5.88
Purple Red
#990147
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2D4A #2D7F62
analogous
#7F2D73 #7F2D4A #7F392D
triadic
#7F2D4A #4A7F2D #2D4A7F
tetradic
#7F2D4A #737F2D #2D7F62 #392D7F
square
#7F2D4A #737F2D #2D7F62 #392D7F
split-complementary
#7F2D4A #2D7F39 #2D737F
monochromatic
#250D15 #521D30 #7F2D4A #AC3D64 #C76084
Accessibility & contrast
On white
8.84
#7F2D4A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#7F2D4A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2D4A
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2D4A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2D4A | 1.00 | 8.84 | 2.38 | 8.84 |
| #FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C404B
Deuteranopia (green-blind)
#525048
Tritanopia (blue-blind)
#8A2438
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #7f2d4a; /* rgb */ color: rgb(127, 45, 74); /* oklch */ color: oklch(42.5% 0.117 1.5);
Tailwind
colors: {
custom: {
50: '#a86b7c',
500: '#7f2d4a',
950: '#000000',
},
}SCSS
$custom: #7f2d4a; $custom-light: #a86b7c; $custom-dark: #000000;
JSON
{
"hex": "#7f2d4a",
"rgb": {
"r": 127,
"g": 45,
"b": 74
},
"hsl": {
"h": 338.78,
"s": 47.674,
"l": 33.725
},
"oklch": {
"l": 0.42501,
"c": 0.11671,
"h": 1.5
},
"luminance": 0.06883
}Semantic roles & 50–950 ramp
primary
#7F2D4A
secondary
#5BAD90
accent
#D7A851
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100709
muted
#7F7A7B