#7E2A16#7E2A16

#7E2A16 is a dark, vivid red. Relative luminance 0.061; OKLCH L 40.8% C 0.121 H 34.6°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#7E2A16
RGBrgb(126, 42, 22)
HSLhsl(12, 70%, 29%)
HSVhsv(12, 83%, 49%)
CMYKcmyk(0%, 66.7%, 82.5%, 50.6%)
CIE-LABlab(29.79, 35.30, 31.63)
CIE-LCHlch(29.79, 47.40, 41.86°)
OKLaboklab(40.82% 0.0994 0.0686)
OKLCHoklch(40.82% 0.121 34.6)
XYZxyz(9.5780, 6.1509, 1.4418)
Luminance0.0615 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2A16 #166A7E
analogous
#7E1636 #7E2A16 #7E5E16
triadic
#7E2A16 #167E2A #2A167E
tetradic
#7E2A16 #367E16 #166A7E #5E167E
square
#7E2A16 #367E16 #166A7E #5E167E
split-complementary
#7E2A16 #167E5E #16367E
monochromatic
#1A0905 #4A190D #7E2A16 #B23B1F #DB5333

Accessibility & contrast

On white

9.42
#7E2A16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2A16
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2A16#FFFFFF#000000##FFFFFF
##7E2A161.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A13
Deuteranopia (green-blind)
#574D13
Tritanopia (blue-blind)
#8B1326
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e2a16;
/* rgb */ color: rgb(126, 42, 22);
/* oklch */ color: oklch(40.8% 0.121 34.6);
Tailwind
colors: {
  custom: {
    50: '#ab6855',
    500: '#7e2a16',
    950: '#000000',
  },
}
SCSS
$custom: #7e2a16;
$custom-light: #ab6855;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2a16",
  "rgb": {
    "r": 126,
    "g": 42,
    "b": 22
  },
  "hsl": {
    "h": 11.538,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40816,
    "c": 0.12075,
    "h": 34.6
  },
  "luminance": 0.06149
}

Semantic roles & 50–950 ramp

primary
#7E2A16
secondary
#3D9CB3
accent
#CBED3B
background
#FBF6F4
surface
#F6EBE8
border
#D0C6C4
text
#110603
muted
#807A78

Preview Lab

Preview with #7E2A16

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

Preview Lab → · Contrast checker → · Palette generator →

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