#7E2C16#7E2C16

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

Color values

HEX#7E2C16
RGBrgb(126, 44, 22)
HSLhsl(13, 70%, 29%)
HSVhsv(13, 83%, 49%)
CMYKcmyk(0%, 65.1%, 82.5%, 50.6%)
CIE-LABlab(30.15, 34.35, 31.99)
CIE-LCHlch(30.15, 46.94, 42.96°)
OKLaboklab(41.09% 0.0964 0.0693)
OKLCHoklch(41.09% 0.119 35.7)
XYZxyz(9.6508, 6.2963, 1.4660)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2C16 #16687E
analogous
#7E1634 #7E2C16 #7E6016
triadic
#7E2C16 #167E2C #2C167E
tetradic
#7E2C16 #347E16 #16687E #60167E
square
#7E2C16 #347E16 #16687E #60167E
split-complementary
#7E2C16 #167E60 #16347E
monochromatic
#1A0905 #4A1A0D #7E2C16 #B23E1F #DB5733

Accessibility & contrast

On white

9.30
#7E2C16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2C16
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2C16#FFFFFF#000000##FFFFFF
##7E2C161.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C13
Deuteranopia (green-blind)
#584E13
Tritanopia (blue-blind)
#8B1628
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2c16;
/* rgb */ color: rgb(126, 44, 22);
/* oklch */ color: oklch(41.1% 0.119 35.7);
Tailwind
colors: {
  custom: {
    50: '#ab6955',
    500: '#7e2c16',
    950: '#000000',
  },
}
SCSS
$custom: #7e2c16;
$custom-light: #ab6955;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2c16",
  "rgb": {
    "r": 126,
    "g": 44,
    "b": 22
  },
  "hsl": {
    "h": 12.692,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41086,
    "c": 0.11877,
    "h": 35.7
  },
  "luminance": 0.06295
}

Semantic roles & 50–950 ramp

primary
#7E2C16
secondary
#3D9AB3
accent
#C7ED3B
background
#FBF6F5
surface
#F6EBE8
border
#D0C6C4
text
#110603
muted
#807A78

Preview Lab

Preview with #7E2C16

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

Preview Lab → · Contrast checker → · Palette generator →

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