#7F2A22#7F2A22
#7F2A22 is a dark, moderate red. Relative luminance 0.063; OKLCH L 41.1% C 0.119 H 28.7°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2A22 |
|---|---|
| RGB | rgb(127, 42, 34) |
| HSL | hsl(5, 58%, 32%) |
| HSV | hsv(5, 73%, 50%) |
| CMYK | cmyk(0%, 66.9%, 73.2%, 50.2%) |
| CIE-LAB | lab(30.12, 36.22, 24.99) |
| CIE-LCH | lch(30.12, 44.01, 34.60°) |
| OKLab | oklab(41.15% 0.1047 0.0572) |
| OKLCH | oklch(41.15% 0.119 28.7) |
| XYZ | xyz(9.8701, 6.2848, 2.2064) |
| Luminance | 0.0628 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 5.58
Red Brown
#8B2E16
ΔE00 5.65
Indian Red
#850E04
ΔE00 6.06
Reddy Brown
#6E1005
ΔE00 6.37
Maroon
#800000
ΔE00 6.55
Dark Red
#840000
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2A22 #22777F
analogous
#7F2249 #7F2A22 #7F5922
triadic
#7F2A22 #227F2A #2A227F
tetradic
#7F2A22 #497F22 #22777F #59227F
square
#7F2A22 #497F22 #22777F #59227F
split-complementary
#7F2A22 #227F59 #22497F
monochromatic
#1E0A08 #4F1A15 #7F2A22 #AF3A2F #CF584C
Accessibility & contrast
On white
9.31
#7F2A22 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#7F2A22 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2A22
9.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2A22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2A22 | 1.00 | 9.31 | 2.26 | 9.31 |
| #FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#413B21
Deuteranopia (green-blind)
#574E1F
Tritanopia (blue-blind)
#8C1529
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7f2a22; /* rgb */ color: rgb(127, 42, 34); /* oklch */ color: oklch(41.1% 0.119 28.7);
Tailwind
colors: {
custom: {
50: '#ab685d',
500: '#7f2a22',
950: '#000000',
},
}SCSS
$custom: #7f2a22; $custom-light: #ab685d; $custom-dark: #000000;
JSON
{
"hex": "#7f2a22",
"rgb": {
"r": 127,
"g": 42,
"b": 34
},
"hsl": {
"h": 5.161,
"s": 57.764,
"l": 31.569
},
"oklch": {
"l": 0.41145,
"c": 0.11929,
"h": 28.7
},
"luminance": 0.06283
}Semantic roles & 50–950 ramp
primary
#7F2A22
secondary
#4BA9B2
accent
#D4E147
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79