#7E291A#7E291A

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

Color values

HEX#7E291A
RGBrgb(126, 41, 26)
HSLhsl(9, 66%, 30%)
HSVhsv(9, 79%, 49%)
CMYKcmyk(0%, 67.5%, 79.4%, 50.6%)
CIE-LABlab(29.66, 35.93, 29.23)
CIE-LCHlch(29.66, 46.32, 39.13°)
OKLaboklab(40.73% 0.1022 0.0646)
OKLCHoklch(40.73% 0.121 32.3)
XYZxyz(9.5846, 6.0975, 1.6493)
Luminance0.0610 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E291A #1A6F7E
analogous
#7E1A3D #7E291A #7E5B1A
triadic
#7E291A #1A7E29 #291A7E
tetradic
#7E291A #3D7E1A #1A6F7E #5B1A7E
square
#7E291A #3D7E1A #1A6F7E #5B1A7E
split-complementary
#7E291A #1A7E5B #1A3D7E
monochromatic
#190805 #4B1810 #7E291A #B13A24 #D7533C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E291A#FFFFFF#000000##FFFFFF
##7E291A1.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)
#413A18
Deuteranopia (green-blind)
#564D17
Tritanopia (blue-blind)
#8B1126
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e291a;
/* rgb */ color: rgb(126, 41, 26);
/* oklch */ color: oklch(40.7% 0.121 32.3);
Tailwind
colors: {
  custom: {
    50: '#aa6757',
    500: '#7e291a',
    950: '#000000',
  },
}
SCSS
$custom: #7e291a;
$custom-light: #aa6757;
$custom-dark: #000000;
JSON
{
  "hex": "#7e291a",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 26
  },
  "hsl": {
    "h": 9,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40729,
    "c": 0.12086,
    "h": 32.3
  },
  "luminance": 0.06096
}

Semantic roles & 50–950 ramp

primary
#7E291A
secondary
#42A1B2
accent
#CFE93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E291A

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

Preview Lab → · Contrast checker → · Palette generator →

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