#7F2F40#7F2F40
#7F2F40 is a dark, moderate red. Relative luminance 0.069; OKLCH L 42.5% C 0.111 H 10.2°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2F40 |
|---|---|
| RGB | rgb(127, 47, 64) |
| HSL | hsl(347, 46%, 34%) |
| HSV | hsv(347, 63%, 50%) |
| CMYK | cmyk(0%, 63%, 49.6%, 50.2%) |
| CIE-LAB | lab(31.62, 36.15, 7.63) |
| CIE-LCH | lch(31.62, 36.94, 11.91°) |
| OKLab | oklab(42.46% 0.1096 0.0197) |
| OKLCH | oklch(42.46% 0.111 10.2) |
| XYZ | xyz(10.6951, 6.9165, 5.6213) |
| Luminance | 0.0692 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine
#722F37
ΔE00 3.59
Red Wine
#8C0034
ΔE00 6.11
Brownish Purple
#76424E
ΔE00 6.25
Bordeaux
#7B002C
ΔE00 6.70
Purple Brown
#673A3F
ΔE00 7.17
Berry
#990F4B
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2F40 #2F7F6E
analogous
#7F2F68 #7F2F40 #7F462F
triadic
#7F2F40 #407F2F #2F407F
tetradic
#7F2F40 #687F2F #2F7F6E #462F7F
square
#7F2F40 #687F2F #2F7F6E #462F7F
split-complementary
#7F2F40 #2F7F46 #2F687F
monochromatic
#260E13 #521E29 #7F2F40 #AC4057 #C56378
Accessibility & contrast
On white
8.81
#7F2F40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#7F2F40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2F40
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2F40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2F40 | 1.00 | 8.81 | 2.38 | 8.81 |
| #FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404040
Deuteranopia (green-blind)
#55503E
Tritanopia (blue-blind)
#8A2435
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #7f2f40; /* rgb */ color: rgb(127, 47, 64); /* oklch */ color: oklch(42.5% 0.111 10.2);
Tailwind
colors: {
custom: {
50: '#a86c74',
500: '#7f2f40',
950: '#000000',
},
}SCSS
$custom: #7f2f40; $custom-light: #a86c74; $custom-dark: #000000;
JSON
{
"hex": "#7f2f40",
"rgb": {
"r": 127,
"g": 47,
"b": 64
},
"hsl": {
"h": 347.25,
"s": 45.977,
"l": 34.118
},
"oklch": {
"l": 0.42462,
"c": 0.11139,
"h": 10.2
},
"luminance": 0.06915
}Semantic roles & 50–950 ramp
primary
#7F2F40
secondary
#5EAC9B
accent
#D6BA52
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100708
muted
#7F7A7B