#7F2A40#7F2A40
#7F2A40 is a dark, moderate pink. Relative luminance 0.065; OKLCH L 41.8% C 0.118 H 8.1°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2A40 |
|---|---|
| RGB | rgb(127, 42, 64) |
| HSL | hsl(344, 50%, 33%) |
| HSV | hsv(344, 67%, 50%) |
| CMYK | cmyk(0%, 66.9%, 49.6%, 50.2%) |
| CIE-LAB | lab(30.73, 38.52, 6.38) |
| CIE-LCH | lch(30.73, 39.05, 9.41°) |
| OKLab | oklab(41.8% 0.1172 0.0166) |
| OKLCH | oklch(41.8% 0.118 8.1) |
| XYZ | xyz(10.5066, 6.5394, 5.5585) |
| Luminance | 0.0654 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine
#722F37
ΔE00 4.46
Red Wine
#8C0034
ΔE00 5.41
Bordeaux
#7B002C
ΔE00 5.93
Wine (survey)
#80013F
ΔE00 6.02
Berry
#990F4B
ΔE00 6.25
Purple Red
#990147
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2A40 #2A7F69
analogous
#7F2A6A #7F2A40 #7F3F2A
triadic
#7F2A40 #407F2A #2A407F
tetradic
#7F2A40 #6A7F2A #2A7F69 #3F2A7F
square
#7F2A40 #6A7F2A #2A7F69 #3F2A7F
split-complementary
#7F2A40 #2A7F3F #2A6A7F
monochromatic
#230C12 #511B29 #7F2A40 #AD3957 #C95B77
Accessibility & contrast
On white
9.10
#7F2A40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#7F2A40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2A40
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2A40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2A40 | 1.00 | 9.10 | 2.31 | 9.10 |
| #FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D3E40
Deuteranopia (green-blind)
#534F3E
Tritanopia (blue-blind)
#8A1D33
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7f2a40; /* rgb */ color: rgb(127, 42, 64); /* oklch */ color: oklch(41.8% 0.118 8.1);
Tailwind
colors: {
custom: {
50: '#a86974',
500: '#7f2a40',
950: '#000000',
},
}SCSS
$custom: #7f2a40; $custom-light: #a86974; $custom-dark: #000000;
JSON
{
"hex": "#7f2a40",
"rgb": {
"r": 127,
"g": 42,
"b": 64
},
"hsl": {
"h": 344.471,
"s": 50.296,
"l": 33.137
},
"oklch": {
"l": 0.41804,
"c": 0.11833,
"h": 8.1
},
"luminance": 0.06538
}Semantic roles & 50–950 ramp
primary
#7F2A40
secondary
#57AE98
accent
#DAB64E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100708
muted
#7F7A7B