#7E291F#7E291F

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

Color values

HEX#7E291F
RGBrgb(126, 41, 31)
HSLhsl(6, 61%, 31%)
HSVhsv(6, 75%, 49%)
CMYKcmyk(0%, 67.5%, 75.4%, 50.6%)
CIE-LABlab(29.72, 36.16, 26.32)
CIE-LCHlch(29.72, 44.73, 36.05°)
OKLaboklab(40.79% 0.1039 0.0596)
OKLCHoklch(40.79% 0.12 29.8)
XYZxyz(9.6455, 6.1218, 1.9698)
Luminance0.0612 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E291F #1F747E
analogous
#7E1F44 #7E291F #7E581F
triadic
#7E291F #1F7E29 #291F7E
tetradic
#7E291F #447E1F #1F747E #581F7E
square
#7E291F #447E1F #1F747E #581F7E
split-complementary
#7E291F #1F7E58 #1F447E
monochromatic
#1C0907 #4D1913 #7E291F #AF392B #D15546

Accessibility & contrast

On white

9.44
#7E291F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E291F
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E291F#FFFFFF#000000##FFFFFF
##7E291F1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A1D
Deuteranopia (green-blind)
#564D1C
Tritanopia (blue-blind)
#8B1327
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e291f;
/* rgb */ color: rgb(126, 41, 31);
/* oklch */ color: oklch(40.8% 0.120 29.8);
Tailwind
colors: {
  custom: {
    50: '#aa675b',
    500: '#7e291f',
    950: '#000000',
  },
}
SCSS
$custom: #7e291f;
$custom-light: #aa675b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e291f",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 31
  },
  "hsl": {
    "h": 6.316,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40794,
    "c": 0.11978,
    "h": 29.8
  },
  "luminance": 0.0612
}

Semantic roles & 50–950 ramp

primary
#7E291F
secondary
#48A6B1
accent
#D3E444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7E291F

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

Preview Lab → · Contrast checker → · Palette generator →

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