#7F2D45#7F2D45
#7F2D45 is a dark, moderate pink. Relative luminance 0.068; OKLCH L 42.3% C 0.115 H 5.4°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2D45 |
|---|---|
| RGB | rgb(127, 45, 69) |
| HSL | hsl(342, 48%, 34%) |
| HSV | hsv(342, 65%, 50%) |
| CMYK | cmyk(0%, 64.6%, 45.7%, 50.2%) |
| CIE-LAB | lab(31.39, 37.64, 4.04) |
| CIE-LCH | lch(31.39, 37.86, 6.12°) |
| OKLab | oklab(42.34% 0.1147 0.0108) |
| OKLCH | oklch(42.34% 0.115 5.4) |
| XYZ | xyz(10.7657, 6.8197, 6.3785) |
| Luminance | 0.0682 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine
#722F37
ΔE00 5.32
Wine (survey)
#80013F
ΔE00 5.96
Berry
#990F4B
ΔE00 6.05
Purple Red
#990147
ΔE00 6.34
Brownish Purple
#76424E
ΔE00 6.36
Mulberry
#920A4E
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2D45 #2D7F67
analogous
#7F2D6E #7F2D45 #7F3E2D
triadic
#7F2D45 #457F2D #2D457F
tetradic
#7F2D45 #6E7F2D #2D7F67 #3E2D7F
square
#7F2D45 #6E7F2D #2D7F67 #3E2D7F
split-complementary
#7F2D45 #2D7F3E #2D6E7F
monochromatic
#250D14 #521D2C #7F2D45 #AC3D5E #C7607E
Accessibility & contrast
On white
8.88
#7F2D45 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#7F2D45 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2D45
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2D45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2D45 | 1.00 | 8.88 | 2.36 | 8.88 |
| #FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E4046
Deuteranopia (green-blind)
#535043
Tritanopia (blue-blind)
#8A2336
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #7f2d45; /* rgb */ color: rgb(127, 45, 69); /* oklch */ color: oklch(42.3% 0.115 5.4);
Tailwind
colors: {
custom: {
50: '#a86b78',
500: '#7f2d45',
950: '#000000',
},
}SCSS
$custom: #7f2d45; $custom-light: #a86b78; $custom-dark: #000000;
JSON
{
"hex": "#7f2d45",
"rgb": {
"r": 127,
"g": 45,
"b": 69
},
"hsl": {
"h": 342.439,
"s": 47.674,
"l": 33.725
},
"oklch": {
"l": 0.4234,
"c": 0.11524,
"h": 5.4
},
"luminance": 0.06818
}Semantic roles & 50–950 ramp
primary
#7F2D45
secondary
#5BAD95
accent
#D7B051
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100709
muted
#7F7A7B