#7E2822#7E2822

#7E2822 is a dark, vivid red. Relative luminance 0.061; OKLCH L 40.7% C 0.120 H 27.7°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#7E2822
RGBrgb(126, 40, 34)
HSLhsl(4, 58%, 31%)
HSVhsv(4, 73%, 49%)
CMYKcmyk(0%, 68.3%, 73%, 50.6%)
CIE-LABlab(29.59, 36.78, 24.32)
CIE-LCHlch(29.59, 44.09, 33.48°)
OKLaboklab(40.71% 0.1065 0.0558)
OKLCHoklch(40.71% 0.12 27.7)
XYZxyz(9.6527, 6.0701, 2.1764)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2822 #22787E
analogous
#7E224A #7E2822 #7E5622
triadic
#7E2822 #227E28 #28227E
tetradic
#7E2822 #4A7E22 #22787E #56227E
square
#7E2822 #4A7E22 #22787E #56227E
split-complementary
#7E2822 #227E56 #224A7E
monochromatic
#1E0908 #4E1915 #7E2822 #AE372F #CF544C

Accessibility & contrast

On white

9.49
#7E2822 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7E2822 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2822
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2822#FFFFFF#000000##FFFFFF
##7E28221.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403A21
Deuteranopia (green-blind)
#554D1F
Tritanopia (blue-blind)
#8B1127
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e2822;
/* rgb */ color: rgb(126, 40, 34);
/* oklch */ color: oklch(40.7% 0.120 27.7);
Tailwind
colors: {
  custom: {
    50: '#aa675d',
    500: '#7e2822',
    950: '#000000',
  },
}
SCSS
$custom: #7e2822;
$custom-light: #aa675d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2822",
  "rgb": {
    "r": 126,
    "g": 40,
    "b": 34
  },
  "hsl": {
    "h": 3.913,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4071,
    "c": 0.12026,
    "h": 27.7
  },
  "luminance": 0.06069
}

Semantic roles & 50–950 ramp

primary
#7E2822
secondary
#4BAAB1
accent
#D7E147
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7E2822

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#7E2822 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva