#7E2816#7E2816

#7E2816 is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.6% C 0.123 H 33.5°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#7E2816
RGBrgb(126, 40, 22)
HSLhsl(10, 70%, 29%)
HSVhsv(10, 83%, 49%)
CMYKcmyk(0%, 68.3%, 82.5%, 50.6%)
CIE-LABlab(29.44, 36.23, 31.29)
CIE-LCHlch(29.44, 47.87, 40.81°)
OKLaboklab(40.56% 0.1023 0.0678)
OKLCHoklch(40.56% 0.123 33.5)
XYZxyz(9.5089, 6.0125, 1.4187)
Luminance0.0601 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2816 #166C7E
analogous
#7E1638 #7E2816 #7E5C16
triadic
#7E2816 #167E28 #28167E
tetradic
#7E2816 #387E16 #166C7E #5C167E
square
#7E2816 #387E16 #166C7E #5C167E
split-complementary
#7E2816 #167E5C #16387E
monochromatic
#1A0805 #4A170D #7E2816 #B2391F #DB5033

Accessibility & contrast

On white

9.54
#7E2816 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7E2816 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2816
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2816#FFFFFF#000000##FFFFFF
##7E28161.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413913
Deuteranopia (green-blind)
#564C12
Tritanopia (blue-blind)
#8B0E25
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e2816;
/* rgb */ color: rgb(126, 40, 22);
/* oklch */ color: oklch(40.6% 0.123 33.5);
Tailwind
colors: {
  custom: {
    50: '#ab6755',
    500: '#7e2816',
    950: '#000000',
  },
}
SCSS
$custom: #7e2816;
$custom-light: #ab6755;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2816",
  "rgb": {
    "r": 126,
    "g": 40,
    "b": 22
  },
  "hsl": {
    "h": 10.385,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40556,
    "c": 0.12271,
    "h": 33.5
  },
  "luminance": 0.06011
}

Semantic roles & 50–950 ramp

primary
#7E2816
secondary
#3D9EB3
accent
#CEED3B
background
#FBF6F4
surface
#F6EBE8
border
#D0C6C4
text
#110603
muted
#807A78

Preview Lab

Preview with #7E2816

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

Preview Lab → · Contrast checker → · Palette generator →

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