#7E2D1D#7E2D1D

#7E2D1D is a dark, moderate red. Relative luminance 0.064; OKLCH L 41.3% C 0.116 H 33.1°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#7E2D1D
RGBrgb(126, 45, 29)
HSLhsl(10, 63%, 30%)
HSVhsv(10, 77%, 49%)
CMYKcmyk(0%, 64.3%, 77%, 50.6%)
CIE-LABlab(30.41, 34.16, 28.28)
CIE-LCHlch(30.41, 44.35, 39.63°)
OKLaboklab(41.3% 0.0973 0.0633)
OKLCHoklch(41.3% 0.116 33.1)
XYZxyz(9.7654, 6.4025, 1.8837)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2D1D #1D6E7E
analogous
#7E1D3D #7E2D1D #7E5D1D
triadic
#7E2D1D #1D7E2D #2D1D7E
tetradic
#7E2D1D #3D7E1D #1D6E7E #5D1D7E
square
#7E2D1D #3D7E1D #1D6E7E #5D1D7E
split-complementary
#7E2D1D #1D7E5D #1D3D7E
monochromatic
#1B0906 #4C1B12 #7E2D1D #B03F28 #D35A42

Accessibility & contrast

On white

9.21
#7E2D1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7E2D1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2D1D
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2D1D#FFFFFF#000000##FFFFFF
##7E2D1D1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C1B
Deuteranopia (green-blind)
#574E1A
Tritanopia (blue-blind)
#8B192A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2d1d;
/* rgb */ color: rgb(126, 45, 29);
/* oklch */ color: oklch(41.3% 0.116 33.1);
Tailwind
colors: {
  custom: {
    50: '#aa6a5a',
    500: '#7e2d1d',
    950: '#000000',
  },
}
SCSS
$custom: #7e2d1d;
$custom-light: #aa6a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2d1d",
  "rgb": {
    "r": 126,
    "g": 45,
    "b": 29
  },
  "hsl": {
    "h": 9.897,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41304,
    "c": 0.11606,
    "h": 33.1
  },
  "luminance": 0.06401
}

Semantic roles & 50–950 ramp

primary
#7E2D1D
secondary
#45A0B1
accent
#CBE642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7E2D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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