#7E291E#7E291E

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

Color values

HEX#7E291E
RGBrgb(126, 41, 30)
HSLhsl(7, 62%, 31%)
HSVhsv(7, 76%, 49%)
CMYKcmyk(0%, 67.5%, 76.2%, 50.6%)
CIE-LABlab(29.70, 36.11, 26.91)
CIE-LCHlch(29.70, 45.04, 36.70°)
OKLaboklab(40.78% 0.1036 0.0606)
OKLCHoklch(40.78% 0.12 30.3)
XYZxyz(9.6325, 6.1166, 1.9015)
Luminance0.0612 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E291E #1E737E
analogous
#7E1E43 #7E291E #7E591E
triadic
#7E291E #1E7E29 #291E7E
tetradic
#7E291E #437E1E #1E737E #591E7E
square
#7E291E #437E1E #1E737E #591E7E
split-complementary
#7E291E #1E7E59 #1E437E
monochromatic
#1B0906 #4D1912 #7E291E #AF392A #D25444

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E291E#FFFFFF#000000##FFFFFF
##7E291E1.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)
#413A1C
Deuteranopia (green-blind)
#564D1B
Tritanopia (blue-blind)
#8B1227
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e291e;
/* rgb */ color: rgb(126, 41, 30);
/* oklch */ color: oklch(40.8% 0.120 30.3);
Tailwind
colors: {
  custom: {
    50: '#aa675a',
    500: '#7e291e',
    950: '#000000',
  },
}
SCSS
$custom: #7e291e;
$custom-light: #aa675a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e291e",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 30
  },
  "hsl": {
    "h": 6.875,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.4078,
    "c": 0.11999,
    "h": 30.3
  },
  "luminance": 0.06115
}

Semantic roles & 50–950 ramp

primary
#7E291E
secondary
#47A5B1
accent
#D2E543
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7E291E

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

Preview Lab → · Contrast checker → · Palette generator →

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