#7F2C4B#7F2C4B
#7F2C4B is a dark, moderate pink. Relative luminance 0.068; OKLCH L 42.4% C 0.119 H 0.4°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2C4B |
|---|---|
| RGB | rgb(127, 44, 75) |
| HSL | hsl(338, 49%, 34%) |
| HSV | hsv(338, 65%, 50%) |
| CMYK | cmyk(0%, 65.4%, 40.9%, 50.2%) |
| CIE-LAB | lab(31.40, 38.79, 0.12) |
| CIE-LCH | lch(31.40, 38.79, 0.17°) |
| OKLab | oklab(42.41% 0.1185 0.0008) |
| OKLCH | oklch(42.41% 0.119 0.4) |
| XYZ | xyz(10.9238, 6.8226, 7.3969) |
| Luminance | 0.0682 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 5.07
Mulberry
#920A4E
ΔE00 5.24
Wine (survey)
#80013F
ΔE00 5.40
Reddish Purple
#910951
ΔE00 5.51
Berry
#990F4B
ΔE00 5.77
Purple Red
#990147
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2C4B #2C7F60
analogous
#7F2C74 #7F2C4B #7F362C
triadic
#7F2C4B #4B7F2C #2C4B7F
tetradic
#7F2C4B #747F2C #2C7F60 #362C7F
square
#7F2C4B #747F2C #2C7F60 #362C7F
split-complementary
#7F2C4B #2C7F36 #2C747F
monochromatic
#240D15 #521C30 #7F2C4B #AC3C66 #C75E85
Accessibility & contrast
On white
8.88
#7F2C4B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#7F2C4B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2C4B
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2C4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2C4B | 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)
#3B404C
Deuteranopia (green-blind)
#525049
Tritanopia (blue-blind)
#892338
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #7f2c4b; /* rgb */ color: rgb(127, 44, 75); /* oklch */ color: oklch(42.4% 0.119 0.4);
Tailwind
colors: {
custom: {
50: '#a86a7d',
500: '#7f2c4b',
950: '#000000',
},
}SCSS
$custom: #7f2c4b; $custom-light: #a86a7d; $custom-dark: #000000;
JSON
{
"hex": "#7f2c4b",
"rgb": {
"r": 127,
"g": 44,
"b": 75
},
"hsl": {
"h": 337.59,
"s": 48.538,
"l": 33.529
},
"oklch": {
"l": 0.42405,
"c": 0.11853,
"h": 0.4
},
"luminance": 0.06821
}Semantic roles & 50–950 ramp
primary
#7F2C4B
secondary
#59AD8E
accent
#D8A550
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100709
muted
#7F7A7B