#7E1816#7E1816

#7E1816 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.137 H 27.2°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#7E1816
RGBrgb(126, 24, 22)
HSLhsl(1, 70%, 29%)
HSVhsv(1, 83%, 49%)
CMYKcmyk(0%, 81%, 82.5%, 50.6%)
CIE-LABlab(27.15, 42.54, 28.99)
CIE-LCHlch(27.15, 51.48, 34.27°)
OKLaboklab(38.84% 0.122 0.0628)
OKLCHoklch(38.84% 0.137 27.2)
XYZxyz(9.0767, 5.1483, 1.2747)
Luminance0.0515 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1816 #167C7E
analogous
#7E1648 #7E1816 #7E4C16
triadic
#7E1816 #167E18 #18167E
tetradic
#7E1816 #487E16 #167C7E #4C167E
square
#7E1816 #487E16 #167C7E #4C167E
split-complementary
#7E1816 #167E4C #16487E
monochromatic
#1A0505 #4A0E0D #7E1816 #B2221F #DB3633

Accessibility & contrast

On white

10.35
#7E1816 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7E1816 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1816
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1816#FFFFFF#000000##FFFFFF
##7E18161.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1816;
/* rgb */ color: rgb(126, 24, 22);
/* oklch */ color: oklch(38.8% 0.137 27.2);
Tailwind
colors: {
  custom: {
    50: '#ac5f54',
    500: '#7e1816',
    950: '#000000',
  },
}
SCSS
$custom: #7e1816;
$custom-light: #ac5f54;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1816",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 22
  },
  "hsl": {
    "h": 1.154,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38843,
    "c": 0.13717,
    "h": 27.2
  },
  "luminance": 0.05147
}

Semantic roles & 50–950 ramp

primary
#7E1816
secondary
#3DB1B3
accent
#EAED3B
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7E1816

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

Preview Lab → · Contrast checker → · Palette generator →

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