#7E2A1D#7E2A1D

#7E2A1D is a dark, moderate red. Relative luminance 0.062; OKLCH L 40.9% C 0.119 H 31.4°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#7E2A1D
RGBrgb(126, 42, 29)
HSLhsl(8, 63%, 30%)
HSVhsv(8, 77%, 49%)
CMYKcmyk(0%, 66.7%, 77%, 50.6%)
CIE-LABlab(29.87, 35.60, 27.69)
CIE-LCHlch(29.87, 45.10, 37.88°)
OKLaboklab(40.9% 0.1017 0.0621)
OKLCHoklch(40.9% 0.119 31.4)
XYZxyz(9.6550, 6.1816, 1.8469)
Luminance0.0618 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2A1D #1D717E
analogous
#7E1D40 #7E2A1D #7E5A1D
triadic
#7E2A1D #1D7E2A #2A1D7E
tetradic
#7E2A1D #407E1D #1D717E #5A1D7E
square
#7E2A1D #407E1D #1D717E #5A1D7E
split-complementary
#7E2A1D #1D7E5A #1D407E
monochromatic
#1B0906 #4C1912 #7E2A1D #B03B28 #D35542

Accessibility & contrast

On white

9.39
#7E2A1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7E2A1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2A1D
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2A1D#FFFFFF#000000##FFFFFF
##7E2A1D1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e2a1d;
/* rgb */ color: rgb(126, 42, 29);
/* oklch */ color: oklch(40.9% 0.119 31.4);
Tailwind
colors: {
  custom: {
    50: '#aa6859',
    500: '#7e2a1d',
    950: '#000000',
  },
}
SCSS
$custom: #7e2a1d;
$custom-light: #aa6859;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2a1d",
  "rgb": {
    "r": 126,
    "g": 42,
    "b": 29
  },
  "hsl": {
    "h": 8.041,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40898,
    "c": 0.11917,
    "h": 31.4
  },
  "luminance": 0.0618
}

Semantic roles & 50–950 ramp

primary
#7E2A1D
secondary
#45A3B1
accent
#D0E642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E2A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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