#7E161A#7E161A

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

Color values

HEX#7E161A
RGBrgb(126, 22, 26)
HSLhsl(358, 70%, 29%)
HSVhsv(358, 83%, 49%)
CMYKcmyk(0%, 82.5%, 79.4%, 50.6%)
CIE-LABlab(26.98, 43.31, 26.36)
CIE-LCHlch(26.98, 50.70, 31.32°)
OKLaboklab(38.73% 0.1253 0.0583)
OKLCHoklch(38.73% 0.138 25)
XYZxyz(9.0786, 5.0855, 1.4807)
Luminance0.0508 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E161A #167E7A
analogous
#7E164E #7E161A #7E4616
triadic
#7E161A #1A7E16 #161A7E
tetradic
#7E161A #4E7E16 #167E7A #46167E
square
#7E161A #4E7E16 #167E7A #46167E
split-complementary
#7E161A #167E46 #164E7E
monochromatic
#1A0505 #4A0D0F #7E161A #B21F25 #DB3339

Accessibility & contrast

On white

10.41
#7E161A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7E161A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E161A
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E161A#FFFFFF#000000##FFFFFF
##7E161A1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e161a;
/* rgb */ color: rgb(126, 22, 26);
/* oklch */ color: oklch(38.7% 0.138 25.0);
Tailwind
colors: {
  custom: {
    50: '#ab5f57',
    500: '#7e161a',
    950: '#000000',
  },
}
SCSS
$custom: #7e161a;
$custom-light: #ab5f57;
$custom-dark: #000000;
JSON
{
  "hex": "#7e161a",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 26
  },
  "hsl": {
    "h": 357.692,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38727,
    "c": 0.13823,
    "h": 25
  },
  "luminance": 0.05084
}

Semantic roles & 50–950 ramp

primary
#7E161A
secondary
#3DB3AE
accent
#EDE63B
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978

Preview Lab

Preview with #7E161A

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

Preview Lab → · Contrast checker → · Palette generator →

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