#7E2A1A#7E2A1A

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

Color values

HEX#7E2A1A
RGBrgb(126, 42, 26)
HSLhsl(10, 66%, 30%)
HSVhsv(10, 79%, 49%)
CMYKcmyk(0%, 66.7%, 79.4%, 50.6%)
CIE-LABlab(29.83, 35.46, 29.42)
CIE-LCHlch(29.83, 46.08, 39.68°)
OKLaboklab(40.86% 0.1007 0.065)
OKLCHoklch(40.86% 0.12 32.8)
XYZxyz(9.6197, 6.1675, 1.6610)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2A1A #1A6E7E
analogous
#7E1A3C #7E2A1A #7E5C1A
triadic
#7E2A1A #1A7E2A #2A1A7E
tetradic
#7E2A1A #3C7E1A #1A6E7E #5C1A7E
square
#7E2A1A #3C7E1A #1A6E7E #5C1A7E
split-complementary
#7E2A1A #1A7E5C #1A3C7E
monochromatic
#190805 #4B1910 #7E2A1A #B13B24 #D7553C

Accessibility & contrast

On white

9.40
#7E2A1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7E2A1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2A1A
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2A1A#FFFFFF#000000##FFFFFF
##7E2A1A1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B18
Deuteranopia (green-blind)
#574D17
Tritanopia (blue-blind)
#8B1327
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e2a1a;
/* rgb */ color: rgb(126, 42, 26);
/* oklch */ color: oklch(40.9% 0.120 32.8);
Tailwind
colors: {
  custom: {
    50: '#aa6857',
    500: '#7e2a1a',
    950: '#000000',
  },
}
SCSS
$custom: #7e2a1a;
$custom-light: #aa6857;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2a1a",
  "rgb": {
    "r": 126,
    "g": 42,
    "b": 26
  },
  "hsl": {
    "h": 9.6,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.4086,
    "c": 0.11984,
    "h": 32.8
  },
  "luminance": 0.06166
}

Semantic roles & 50–950 ramp

primary
#7E2A1A
secondary
#42A0B2
accent
#CEE93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E2A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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