#7F2A42#7F2A42
#7F2A42 is a dark, moderate pink. Relative luminance 0.066; OKLCH L 41.9% C 0.119 H 6.5°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2A42 |
|---|---|
| RGB | rgb(127, 42, 66) |
| HSL | hsl(343, 50%, 33%) |
| HSV | hsv(343, 67%, 50%) |
| CMYK | cmyk(0%, 66.9%, 48%, 50.2%) |
| CIE-LAB | lab(30.79, 38.72, 5.15) |
| CIE-LCH | lch(30.79, 39.06, 7.57°) |
| OKLab | oklab(41.86% 0.118 0.0135) |
| OKLCH | oklch(41.86% 0.119 6.5) |
| XYZ | xyz(10.5645, 6.5626, 5.8636) |
| Luminance | 0.0656 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine
#722F37
ΔE00 5.00
Wine (survey)
#80013F
ΔE00 5.63
Red Wine
#8C0034
ΔE00 5.72
Berry
#990F4B
ΔE00 5.93
Purple Red
#990147
ΔE00 6.09
Bordeaux
#7B002C
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2A42 #2A7F67
analogous
#7F2A6C #7F2A42 #7F3C2A
triadic
#7F2A42 #427F2A #2A427F
tetradic
#7F2A42 #6C7F2A #2A7F67 #3C2A7F
square
#7F2A42 #6C7F2A #2A7F67 #3C2A7F
split-complementary
#7F2A42 #2A7F3C #2A6C7F
monochromatic
#230C12 #511B2A #7F2A42 #AD395A #C95B7A
Accessibility & contrast
On white
9.08
#7F2A42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#7F2A42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2A42
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2A42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2A42 | 1.00 | 9.08 | 2.31 | 9.08 |
| #FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C3E43
Deuteranopia (green-blind)
#534F40
Tritanopia (blue-blind)
#8A1E33
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7f2a42; /* rgb */ color: rgb(127, 42, 66); /* oklch */ color: oklch(41.9% 0.119 6.5);
Tailwind
colors: {
custom: {
50: '#a86976',
500: '#7f2a42',
950: '#000000',
},
}SCSS
$custom: #7f2a42; $custom-light: #a86976; $custom-dark: #000000;
JSON
{
"hex": "#7f2a42",
"rgb": {
"r": 127,
"g": 42,
"b": 66
},
"hsl": {
"h": 343.059,
"s": 50.296,
"l": 33.137
},
"oklch": {
"l": 0.41863,
"c": 0.11874,
"h": 6.5
},
"luminance": 0.06561
}Semantic roles & 50–950 ramp
primary
#7F2A42
secondary
#57AE95
accent
#DAB24E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100708
muted
#7F7A7B