#7F2A34#7F2A34
#7F2A34 is a dark, moderate red. Relative luminance 0.064; OKLCH L 41.5% C 0.117 H 17.0°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2A34 |
|---|---|
| RGB | rgb(127, 42, 52) |
| HSL | hsl(353, 50%, 33%) |
| HSV | hsv(353, 67%, 50%) |
| CMYK | cmyk(0%, 66.9%, 59.1%, 50.2%) |
| CIE-LAB | lab(30.44, 37.44, 13.87) |
| CIE-LCH | lch(30.44, 39.92, 20.32°) |
| OKLab | oklab(41.49% 0.1121 0.0343) |
| OKLCH | oklch(41.49% 0.117 17) |
| XYZ | xyz(10.2011, 6.4172, 3.9496) |
| Luminance | 0.0642 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine
#722F37
ΔE00 3.41
Wine Red
#7B0323
ΔE00 5.40
Burgundy
#800020
ΔE00 5.77
Red Wine
#8C0034
ΔE00 5.88
Bordeaux
#7B002C
ΔE00 6.10
Cranberry
#9E003A
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2A34 #2A7F75
analogous
#7F2A5E #7F2A34 #7F4A2A
triadic
#7F2A34 #347F2A #2A347F
tetradic
#7F2A34 #5E7F2A #2A7F75 #4A2A7F
square
#7F2A34 #5E7F2A #2A7F75 #4A2A7F
split-complementary
#7F2A34 #2A7F4A #2A5E7F
monochromatic
#230C0E #511B21 #7F2A34 #AD3947 #C95B68
Accessibility & contrast
On white
9.20
#7F2A34 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#7F2A34 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2A34
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2A34 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2A34 | 1.00 | 9.20 | 2.28 | 9.20 |
| #FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F3C34
Deuteranopia (green-blind)
#554E32
Tritanopia (blue-blind)
#8B192E
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7f2a34; /* rgb */ color: rgb(127, 42, 52); /* oklch */ color: oklch(41.5% 0.117 17.0);
Tailwind
colors: {
custom: {
50: '#a9696b',
500: '#7f2a34',
950: '#000000',
},
}SCSS
$custom: #7f2a34; $custom-light: #a9696b; $custom-dark: #000000;
JSON
{
"hex": "#7f2a34",
"rgb": {
"r": 127,
"g": 42,
"b": 52
},
"hsl": {
"h": 352.941,
"s": 50.296,
"l": 33.137
},
"oklch": {
"l": 0.4149,
"c": 0.11724,
"h": 17
},
"luminance": 0.06416
}Semantic roles & 50–950 ramp
primary
#7F2A34
secondary
#57AEA4
accent
#DAC94E
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A