#7C2F40#7C2F40
#7C2F40 is a dark, moderate red. Relative luminance 0.067; OKLCH L 42.0% C 0.108 H 9.4°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #7C2F40 |
|---|---|
| RGB | rgb(124, 47, 64) |
| HSL | hsl(347, 45%, 34%) |
| HSV | hsv(347, 62%, 49%) |
| CMYK | cmyk(0%, 62.1%, 48.4%, 51.4%) |
| CIE-LAB | lab(31.09, 35.06, 6.81) |
| CIE-LCH | lch(31.09, 35.72, 10.99°) |
| OKLab | oklab(41.97% 0.1064 0.0177) |
| OKLCH | oklch(41.97% 0.108 9.4) |
| XYZ | xyz(10.2549, 6.6895, 5.6007) |
| Luminance | 0.0669 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine
#722F37
ΔE00 3.37
Brownish Purple
#76424E
ΔE00 5.95
Red Wine
#8C0034
ΔE00 6.47
Purple Brown
#673A3F
ΔE00 6.73
Bordeaux
#7B002C
ΔE00 6.76
Wine (survey)
#80013F
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C2F40 #2F7C6B
analogous
#7C2F66 #7C2F40 #7C442F
triadic
#7C2F40 #407C2F #2F407C
tetradic
#7C2F40 #667C2F #2F7C6B #442F7C
square
#7C2F40 #667C2F #2F7C6B #442F7C
split-complementary
#7C2F40 #2F7C44 #2F667C
monochromatic
#230D12 #501E29 #7C2F40 #A84057 #C36277
Accessibility & contrast
On white
8.98
#7C2F40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#7C2F40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C2F40
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C2F40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C2F40 | 1.00 | 8.98 | 2.34 | 8.98 |
| #FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4040
Deuteranopia (green-blind)
#534F3E
Tritanopia (blue-blind)
#872535
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #7c2f40; /* rgb */ color: rgb(124, 47, 64); /* oklch */ color: oklch(42.0% 0.108 9.4);
Tailwind
colors: {
custom: {
50: '#a66b74',
500: '#7c2f40',
950: '#000000',
},
}SCSS
$custom: #7c2f40; $custom-light: #a66b74; $custom-dark: #000000;
JSON
{
"hex": "#7c2f40",
"rgb": {
"r": 124,
"g": 47,
"b": 64
},
"hsl": {
"h": 346.753,
"s": 45.029,
"l": 33.529
},
"oklch": {
"l": 0.41966,
"c": 0.10789,
"h": 9.4
},
"luminance": 0.06688
}Semantic roles & 50–950 ramp
primary
#7C2F40
secondary
#5CAA99
accent
#D5B853
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100708
muted
#7F7A7B