#7E1616#7E1616

#7E1616 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.7% C 0.139 H 26.7°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#7E1616
RGBrgb(126, 22, 22)
HSLhsl(0, 70%, 29%)
HSVhsv(0, 83%, 49%)
CMYKcmyk(0%, 82.5%, 82.5%, 50.6%)
CIE-LABlab(26.93, 43.17, 28.76)
CIE-LCHlch(26.93, 51.87, 33.68°)
OKLaboklab(38.68% 0.1239 0.0623)
OKLCHoklch(38.68% 0.139 26.7)
XYZxyz(9.0370, 5.0688, 1.2615)
Luminance0.0507 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1616 #167E7E
analogous
#7E164A #7E1616 #7E4A16
triadic
#7E1616 #167E16 #16167E
tetradic
#7E1616 #4A7E16 #167E7E #4A167E
square
#7E1616 #4A7E16 #167E7E #4A167E
split-complementary
#7E1616 #167E4A #164A7E
monochromatic
#1A0505 #4A0D0D #7E1616 #B21F1F #DB3333

Accessibility & contrast

On white

10.43
#7E1616 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7E1616 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1616
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1616#FFFFFF#000000##FFFFFF
##7E16161.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373114
Deuteranopia (green-blind)
#514811
Tritanopia (blue-blind)
#8B0018
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1616;
/* rgb */ color: rgb(126, 22, 22);
/* oklch */ color: oklch(38.7% 0.139 26.7);
Tailwind
colors: {
  custom: {
    50: '#ac5e54',
    500: '#7e1616',
    950: '#000000',
  },
}
SCSS
$custom: #7e1616;
$custom-light: #ac5e54;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1616",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 22
  },
  "hsl": {
    "h": 0,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38677,
    "c": 0.13871,
    "h": 26.7
  },
  "luminance": 0.05067
}

Semantic roles & 50–950 ramp

primary
#7E1616
secondary
#3DB3B3
accent
#EDED3B
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7E1616

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

Preview Lab → · Contrast checker → · Palette generator →

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