#7E291D#7E291D

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

Color values

HEX#7E291D
RGBrgb(126, 41, 29)
HSLhsl(7, 63%, 30%)
HSVhsv(7, 77%, 49%)
CMYKcmyk(0%, 67.5%, 77%, 50.6%)
CIE-LABlab(29.69, 36.06, 27.50)
CIE-LCHlch(29.69, 45.35, 37.33°)
OKLaboklab(40.77% 0.1032 0.0616)
OKLCHoklch(40.77% 0.12 30.8)
XYZxyz(9.6199, 6.1116, 1.8353)
Luminance0.0611 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E291D #1D727E
analogous
#7E1D41 #7E291D #7E5A1D
triadic
#7E291D #1D7E29 #291D7E
tetradic
#7E291D #417E1D #1D727E #5A1D7E
square
#7E291D #417E1D #1D727E #5A1D7E
split-complementary
#7E291D #1D7E5A #1D417E
monochromatic
#1B0906 #4C1912 #7E291D #B03928 #D35442

Accessibility & contrast

On white

9.45
#7E291D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E291D
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E291D#FFFFFF#000000##FFFFFF
##7E291D1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A1B
Deuteranopia (green-blind)
#564D1A
Tritanopia (blue-blind)
#8B1227
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e291d;
/* rgb */ color: rgb(126, 41, 29);
/* oklch */ color: oklch(40.8% 0.120 30.8);
Tailwind
colors: {
  custom: {
    50: '#aa6759',
    500: '#7e291d',
    950: '#000000',
  },
}
SCSS
$custom: #7e291d;
$custom-light: #aa6759;
$custom-dark: #000000;
JSON
{
  "hex": "#7e291d",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 29
  },
  "hsl": {
    "h": 7.423,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40767,
    "c": 0.12021,
    "h": 30.8
  },
  "luminance": 0.0611
}

Semantic roles & 50–950 ramp

primary
#7E291D
secondary
#45A4B1
accent
#D1E642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E291D

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

Preview Lab → · Contrast checker → · Palette generator →

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