#7E291B#7E291B

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

Color values

HEX#7E291B
RGBrgb(126, 41, 27)
HSLhsl(8, 65%, 30%)
HSVhsv(8, 79%, 49%)
CMYKcmyk(0%, 67.5%, 78.6%, 50.6%)
CIE-LABlab(29.67, 35.97, 28.66)
CIE-LCHlch(29.67, 46.00, 38.55°)
OKLaboklab(40.74% 0.1025 0.0636)
OKLCHoklch(40.74% 0.121 31.8)
XYZxyz(9.5960, 6.1020, 1.7092)
Luminance0.0610 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E291B #1B707E
analogous
#7E1B3E #7E291B #7E5B1B
triadic
#7E291B #1B7E29 #291B7E
tetradic
#7E291B #3E7E1B #1B707E #5B1B7E
square
#7E291B #3E7E1B #1B707E #5B1B7E
split-complementary
#7E291B #1B7E5B #1B3E7E
monochromatic
#190805 #4C1910 #7E291B #B03926 #D6533E

Accessibility & contrast

On white

9.46
#7E291B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7E291B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E291B
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E291B#FFFFFF#000000##FFFFFF
##7E291B1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A19
Deuteranopia (green-blind)
#564D18
Tritanopia (blue-blind)
#8B1226
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e291b;
/* rgb */ color: rgb(126, 41, 27);
/* oklch */ color: oklch(40.7% 0.121 31.8);
Tailwind
colors: {
  custom: {
    50: '#aa6758',
    500: '#7e291b',
    950: '#000000',
  },
}
SCSS
$custom: #7e291b;
$custom-light: #aa6758;
$custom-dark: #000000;
JSON
{
  "hex": "#7e291b",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 27
  },
  "hsl": {
    "h": 8.485,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.40741,
    "c": 0.12064,
    "h": 31.8
  },
  "luminance": 0.06101
}

Semantic roles & 50–950 ramp

primary
#7E291B
secondary
#43A2B2
accent
#D0E840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E291B

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

Preview Lab → · Contrast checker → · Palette generator →

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