#7E2D20#7E2D20

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

Color values

HEX#7E2D20
RGBrgb(126, 45, 32)
HSLhsl(8, 59%, 31%)
HSVhsv(8, 75%, 49%)
CMYKcmyk(0%, 64.3%, 74.6%, 50.6%)
CIE-LABlab(30.44, 34.31, 26.54)
CIE-LCHlch(30.44, 43.37, 37.72°)
OKLaboklab(41.35% 0.0984 0.0602)
OKLCHoklch(41.35% 0.115 31.5)
XYZxyz(9.8043, 6.4180, 2.0888)
Luminance0.0642 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2D20 #20717E
analogous
#7E2042 #7E2D20 #7E5C20
triadic
#7E2D20 #207E2D #2D207E
tetradic
#7E2D20 #427E20 #20717E #5C207E
square
#7E2D20 #427E20 #20717E #5C207E
split-complementary
#7E2D20 #207E5C #20427E
monochromatic
#1C0A07 #4D1C14 #7E2D20 #AF3E2C #D05B48

Accessibility & contrast

On white

9.20
#7E2D20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2D20
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2D20#FFFFFF#000000##FFFFFF
##7E2D201.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433D1E
Deuteranopia (green-blind)
#574E1E
Tritanopia (blue-blind)
#8B1A2A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2d20;
/* rgb */ color: rgb(126, 45, 32);
/* oklch */ color: oklch(41.3% 0.115 31.5);
Tailwind
colors: {
  custom: {
    50: '#aa6a5c',
    500: '#7e2d20',
    950: '#000000',
  },
}
SCSS
$custom: #7e2d20;
$custom-light: #aa6a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2d20",
  "rgb": {
    "r": 126,
    "g": 45,
    "b": 32
  },
  "hsl": {
    "h": 8.298,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41345,
    "c": 0.11533,
    "h": 31.5
  },
  "luminance": 0.06417
}

Semantic roles & 50–950 ramp

primary
#7E2D20
secondary
#49A3B1
accent
#CDE345
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7E2D20

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

Preview Lab → · Contrast checker → · Palette generator →

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