#7E2216#7E2216

#7E2216 is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.8% C 0.128 H 30.8°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#7E2216
RGBrgb(126, 34, 22)
HSLhsl(7, 70%, 29%)
HSVhsv(7, 83%, 49%)
CMYKcmyk(0%, 73%, 82.5%, 50.6%)
CIE-LABlab(28.48, 38.85, 30.33)
CIE-LCHlch(28.48, 49.29, 37.98°)
OKLaboklab(39.84% 0.1104 0.0657)
OKLCHoklch(39.84% 0.128 30.8)
XYZxyz(9.3221, 5.6390, 1.3565)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2216 #16727E
analogous
#7E163E #7E2216 #7E5616
triadic
#7E2216 #167E22 #22167E
tetradic
#7E2216 #3E7E16 #16727E #56167E
square
#7E2216 #3E7E16 #16727E #56167E
split-complementary
#7E2216 #167E56 #163E7E
monochromatic
#1A0705 #4A140D #7E2216 #B2301F #DB4633

Accessibility & contrast

On white

9.87
#7E2216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7E2216 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2216
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2216#FFFFFF#000000##FFFFFF
##7E22161.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3614
Deuteranopia (green-blind)
#544B12
Tritanopia (blue-blind)
#8B0020
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e2216;
/* rgb */ color: rgb(126, 34, 22);
/* oklch */ color: oklch(39.8% 0.128 30.8);
Tailwind
colors: {
  custom: {
    50: '#ab6454',
    500: '#7e2216',
    950: '#000000',
  },
}
SCSS
$custom: #7e2216;
$custom-light: #ab6454;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2216",
  "rgb": {
    "r": 126,
    "g": 34,
    "b": 22
  },
  "hsl": {
    "h": 6.923,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39835,
    "c": 0.12848,
    "h": 30.8
  },
  "luminance": 0.05638
}

Semantic roles & 50–950 ramp

primary
#7E2216
secondary
#3DA5B3
accent
#D8ED3B
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120603
muted
#817A78

Preview Lab

Preview with #7E2216

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

Preview Lab → · Contrast checker → · Palette generator →

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