#7E2C12#7E2C12

#7E2C12 is a dark, moderate red. Relative luminance 0.063; OKLCH L 41.0% C 0.120 H 37.2°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#7E2C12
RGBrgb(126, 44, 18)
HSLhsl(14, 75%, 28%)
HSVhsv(14, 86%, 49%)
CMYKcmyk(0%, 65.1%, 85.7%, 50.6%)
CIE-LABlab(30.11, 34.21, 34.05)
CIE-LCHlch(30.11, 48.27, 44.86°)
OKLaboklab(41.05% 0.0953 0.0725)
OKLCHoklch(41.05% 0.12 37.2)
XYZxyz(9.6151, 6.2820, 1.2784)
Luminance0.0628 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2C12 #12647E
analogous
#7E122E #7E2C12 #7E6212
triadic
#7E2C12 #127E2C #2C127E
tetradic
#7E2C12 #2E7E12 #12647E #62127E
square
#7E2C12 #2E7E12 #12647E #62127E
split-complementary
#7E2C12 #127E62 #122E7E
monochromatic
#1B0904 #48190A #7E2C12 #B43F1A #E1562A

Accessibility & contrast

On white

9.31
#7E2C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2C12
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2C12#FFFFFF#000000##FFFFFF
##7E2C121.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B0E
Deuteranopia (green-blind)
#584E0E
Tritanopia (blue-blind)
#8B1627
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2c12;
/* rgb */ color: rgb(126, 44, 18);
/* oklch */ color: oklch(41.0% 0.120 37.2);
Tailwind
colors: {
  custom: {
    50: '#ab6952',
    500: '#7e2c12',
    950: '#000000',
  },
}
SCSS
$custom: #7e2c12;
$custom-light: #ab6952;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2c12",
  "rgb": {
    "r": 126,
    "g": 44,
    "b": 18
  },
  "hsl": {
    "h": 14.444,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41049,
    "c": 0.1197,
    "h": 37.2
  },
  "luminance": 0.06281
}

Semantic roles & 50–950 ramp

primary
#7E2C12
secondary
#3896B4
accent
#C4F236
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110602
muted
#807A78

Preview Lab

Preview with #7E2C12

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

Preview Lab → · Contrast checker → · Palette generator →

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