#7F2A38#7F2A38
#7F2A38 is a dark, moderate red. Relative luminance 0.065; OKLCH L 41.6% C 0.117 H 14.1°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2A38 |
|---|---|
| RGB | rgb(127, 42, 56) |
| HSL | hsl(350, 50%, 33%) |
| HSV | hsv(350, 67%, 50%) |
| CMYK | cmyk(0%, 66.9%, 55.9%, 50.2%) |
| CIE-LAB | lab(30.53, 37.77, 11.37) |
| CIE-LCH | lch(30.53, 39.45, 16.75°) |
| OKLab | oklab(41.59% 0.1138 0.0285) |
| OKLCH | oklch(41.59% 0.117 14.1) |
| XYZ | xyz(10.2951, 6.4548, 4.4444) |
| Luminance | 0.0645 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine
#722F37
ΔE00 3.15
Red Wine
#8C0034
ΔE00 5.25
Bordeaux
#7B002C
ΔE00 5.60
Wine Red
#7B0323
ΔE00 5.88
Burgundy
#800020
ΔE00 6.59
Cranberry
#9E003A
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2A38 #2A7F71
analogous
#7F2A62 #7F2A38 #7F462A
triadic
#7F2A38 #387F2A #2A387F
tetradic
#7F2A38 #627F2A #2A7F71 #462A7F
square
#7F2A38 #627F2A #2A7F71 #462A7F
split-complementary
#7F2A38 #2A7F46 #2A627F
monochromatic
#230C0F #511B24 #7F2A38 #AD394C #C95B6D
Accessibility & contrast
On white
9.17
#7F2A38 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#7F2A38 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2A38
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2A38 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2A38 | 1.00 | 9.17 | 2.29 | 9.17 |
| #FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E3D38
Deuteranopia (green-blind)
#544E36
Tritanopia (blue-blind)
#8B1B30
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7f2a38; /* rgb */ color: rgb(127, 42, 56); /* oklch */ color: oklch(41.6% 0.117 14.1);
Tailwind
colors: {
custom: {
50: '#a9696e',
500: '#7f2a38',
950: '#000000',
},
}SCSS
$custom: #7f2a38; $custom-light: #a9696e; $custom-dark: #000000;
JSON
{
"hex": "#7f2a38",
"rgb": {
"r": 127,
"g": 42,
"b": 56
},
"hsl": {
"h": 350.118,
"s": 50.296,
"l": 33.137
},
"oklch": {
"l": 0.41587,
"c": 0.11734,
"h": 14.1
},
"luminance": 0.06453
}Semantic roles & 50–950 ramp
primary
#7F2A38
secondary
#57AEA0
accent
#DAC34E
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110607
muted
#807A7A