#7F2A2B#7F2A2B
#7F2A2B is a dark, moderate red. Relative luminance 0.063; OKLCH L 41.3% C 0.118 H 23.2°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2A2B |
|---|---|
| RGB | rgb(127, 42, 43) |
| HSL | hsl(359, 50%, 33%) |
| HSV | hsv(359, 67%, 50%) |
| CMYK | cmyk(0%, 66.9%, 66.1%, 50.2%) |
| CIE-LAB | lab(30.26, 36.77, 19.48) |
| CIE-LCH | lch(30.26, 41.61, 27.91°) |
| OKLab | oklab(41.3% 0.1083 0.0464) |
| OKLCH | oklch(41.3% 0.118 23.2) |
| XYZ | xyz(10.0174, 6.3437, 2.9820) |
| Luminance | 0.0634 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 5.49
Wine
#722F37
ΔE00 5.70
Wine Red
#7B0323
ΔE00 6.06
Crimson (survey)
#8C000F
ΔE00 7.31
Claret
#680018
ΔE00 7.87
Carmine
#9D0216
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2A2B #2A7F7E
analogous
#7F2A55 #7F2A2B #7F532A
triadic
#7F2A2B #2B7F2A #2A2B7F
tetradic
#7F2A2B #557F2A #2A7F7E #532A7F
square
#7F2A2B #557F2A #2A7F7E #532A7F
split-complementary
#7F2A2B #2A7F53 #2A557F
monochromatic
#230C0C #511B1B #7F2A2B #AD393B #C95B5C
Accessibility & contrast
On white
9.26
#7F2A2B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#7F2A2B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2A2B
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2A2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2A2B | 1.00 | 9.26 | 2.27 | 9.26 |
| #FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#403C2A
Deuteranopia (green-blind)
#564E29
Tritanopia (blue-blind)
#8C172B
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7f2a2b; /* rgb */ color: rgb(127, 42, 43); /* oklch */ color: oklch(41.3% 0.118 23.2);
Tailwind
colors: {
custom: {
50: '#aa6864',
500: '#7f2a2b',
950: '#000000',
},
}SCSS
$custom: #7f2a2b; $custom-light: #aa6864; $custom-dark: #000000;
JSON
{
"hex": "#7f2a2b",
"rgb": {
"r": 127,
"g": 42,
"b": 43
},
"hsl": {
"h": 359.294,
"s": 50.296,
"l": 33.137
},
"oklch": {
"l": 0.41299,
"c": 0.11783,
"h": 23.2
},
"luminance": 0.06342
}Semantic roles & 50–950 ramp
primary
#7F2A2B
secondary
#57AEAD
accent
#DAD84E
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79