#7F2D21#7F2D21
#7F2D21 is a dark, moderate red. Relative luminance 0.065; OKLCH L 41.5% C 0.116 H 30.9°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2D21 |
|---|---|
| RGB | rgb(127, 45, 33) |
| HSL | hsl(8, 59%, 31%) |
| HSV | hsv(8, 74%, 50%) |
| CMYK | cmyk(0%, 64.6%, 74%, 50.2%) |
| CIE-LAB | lab(30.64, 34.74, 26.20) |
| CIE-LCH | lch(30.64, 43.51, 37.03°) |
| OKLab | oklab(41.53% 0.0998 0.0597) |
| OKLCH | oklch(41.53% 0.116 30.9) |
| XYZ | xyz(9.9663, 6.5000, 2.1684) |
| Luminance | 0.0650 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 4.58
Indian Red
#850E04
ΔE00 5.85
Crimson (survey)
#8C000F
ΔE00 6.04
Reddish Brown
#7F2B0A
ΔE00 6.19
Reddy Brown
#6E1005
ΔE00 6.45
Dark Red
#840000
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2D21 #21737F
analogous
#7F2144 #7F2D21 #7F5C21
triadic
#7F2D21 #217F2D #2D217F
tetradic
#7F2D21 #447F21 #21737F #5C217F
square
#7F2D21 #447F21 #21737F #5C217F
split-complementary
#7F2D21 #217F5C #21447F
monochromatic
#1E0B08 #4E1C14 #7F2D21 #B03E2E #D05B4A
Accessibility & contrast
On white
9.13
#7F2D21 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#7F2D21 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2D21
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2D21 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2D21 | 1.00 | 9.13 | 2.30 | 9.13 |
| #FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#433D1F
Deuteranopia (green-blind)
#584F1F
Tritanopia (blue-blind)
#8C1A2B
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7f2d21; /* rgb */ color: rgb(127, 45, 33); /* oklch */ color: oklch(41.5% 0.116 30.9);
Tailwind
colors: {
custom: {
50: '#aa6a5d',
500: '#7f2d21',
950: '#000000',
},
}SCSS
$custom: #7f2d21; $custom-light: #aa6a5d; $custom-dark: #000000;
JSON
{
"hex": "#7f2d21",
"rgb": {
"r": 127,
"g": 45,
"b": 33
},
"hsl": {
"h": 7.66,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.41532,
"c": 0.11629,
"h": 30.9
},
"luminance": 0.06499
}Semantic roles & 50–950 ramp
primary
#7F2D21
secondary
#4AA4B2
accent
#CEE246
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79