#7E291C#7E291C

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

Color values

HEX#7E291C
RGBrgb(126, 41, 28)
HSLhsl(8, 64%, 30%)
HSVhsv(8, 78%, 49%)
CMYKcmyk(0%, 67.5%, 77.8%, 50.6%)
CIE-LABlab(29.68, 36.02, 28.08)
CIE-LCHlch(29.68, 45.67, 37.94°)
OKLaboklab(40.75% 0.1028 0.0626)
OKLCHoklch(40.75% 0.12 31.3)
XYZxyz(9.6078, 6.1067, 1.7712)
Luminance0.0611 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E291C #1C717E
analogous
#7E1C40 #7E291C #7E5A1C
triadic
#7E291C #1C7E29 #291C7E
tetradic
#7E291C #407E1C #1C717E #5A1C7E
square
#7E291C #407E1C #1C717E #5A1C7E
split-complementary
#7E291C #1C7E5A #1C407E
monochromatic
#1A0806 #4C1911 #7E291C #B03927 #D55440

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E291C#FFFFFF#000000##FFFFFF
##7E291C1.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)
#413A1A
Deuteranopia (green-blind)
#564D19
Tritanopia (blue-blind)
#8B1227
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e291c;
/* rgb */ color: rgb(126, 41, 28);
/* oklch */ color: oklch(40.8% 0.120 31.3);
Tailwind
colors: {
  custom: {
    50: '#aa6759',
    500: '#7e291c',
    950: '#000000',
  },
}
SCSS
$custom: #7e291c;
$custom-light: #aa6759;
$custom-dark: #000000;
JSON
{
  "hex": "#7e291c",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 28
  },
  "hsl": {
    "h": 7.959,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40754,
    "c": 0.12042,
    "h": 31.3
  },
  "luminance": 0.06105
}

Semantic roles & 50–950 ramp

primary
#7E291C
secondary
#44A3B2
accent
#D1E741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E291C

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

Preview Lab → · Contrast checker → · Palette generator →

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