#7E2C1A#7E2C1A

#7E2C1A is a dark, moderate red. Relative luminance 0.063; OKLCH L 41.1% C 0.118 H 34.0°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#7E2C1A
RGBrgb(126, 44, 26)
HSLhsl(11, 66%, 30%)
HSVhsv(11, 79%, 49%)
CMYKcmyk(0%, 65.1%, 79.4%, 50.6%)
CIE-LABlab(30.19, 34.51, 29.79)
CIE-LCHlch(30.19, 45.59, 40.81°)
OKLaboklab(41.13% 0.0977 0.0658)
OKLCHoklch(41.13% 0.118 34)
XYZxyz(9.6924, 6.3129, 1.6852)
Luminance0.0631 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2C1A #1A6C7E
analogous
#7E1A3A #7E2C1A #7E5E1A
triadic
#7E2C1A #1A7E2C #2C1A7E
tetradic
#7E2C1A #3A7E1A #1A6C7E #5E1A7E
square
#7E2C1A #3A7E1A #1A6C7E #5E1A7E
split-complementary
#7E2C1A #1A7E5E #1A3A7E
monochromatic
#190905 #4B1A10 #7E2C1A #B13E24 #D7583C

Accessibility & contrast

On white

9.28
#7E2C1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7E2C1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2C1A
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2C1A#FFFFFF#000000##FFFFFF
##7E2C1A1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C17
Deuteranopia (green-blind)
#574E17
Tritanopia (blue-blind)
#8B1728
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2c1a;
/* rgb */ color: rgb(126, 44, 26);
/* oklch */ color: oklch(41.1% 0.118 34.0);
Tailwind
colors: {
  custom: {
    50: '#aa6957',
    500: '#7e2c1a',
    950: '#000000',
  },
}
SCSS
$custom: #7e2c1a;
$custom-light: #aa6957;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2c1a",
  "rgb": {
    "r": 126,
    "g": 44,
    "b": 26
  },
  "hsl": {
    "h": 10.8,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41129,
    "c": 0.11782,
    "h": 34
  },
  "luminance": 0.06312
}

Semantic roles & 50–950 ramp

primary
#7E2C1A
secondary
#429EB2
accent
#CAE93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E2C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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