#7E161F#7E161F

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

Color values

HEX#7E161F
RGBrgb(126, 22, 31)
HSLhsl(355, 70%, 29%)
HSVhsv(355, 83%, 49%)
CMYKcmyk(0%, 82.5%, 75.4%, 50.6%)
CIE-LABlab(27.05, 43.53, 23.26)
CIE-LCHlch(27.05, 49.35, 28.12°)
OKLaboklab(38.8% 0.1272 0.0529)
OKLCHoklch(38.8% 0.138 22.6)
XYZxyz(9.1395, 5.1098, 1.8011)
Luminance0.0511 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E161F #167E75
analogous
#7E1653 #7E161F #7E4116
triadic
#7E161F #1F7E16 #161F7E
tetradic
#7E161F #537E16 #167E75 #41167E
square
#7E161F #537E16 #167E75 #41167E
split-complementary
#7E161F #167E41 #16537E
monochromatic
#1A0506 #4A0D12 #7E161F #B21F2C #DB3342

Accessibility & contrast

On white

10.39
#7E161F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E161F
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E161F#FFFFFF#000000##FFFFFF
##7E161F1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36321E
Deuteranopia (green-blind)
#50481B
Tritanopia (blue-blind)
#8B001B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e161f;
/* rgb */ color: rgb(126, 22, 31);
/* oklch */ color: oklch(38.8% 0.138 22.6);
Tailwind
colors: {
  custom: {
    50: '#ab5f5a',
    500: '#7e161f',
    950: '#000000',
  },
}
SCSS
$custom: #7e161f;
$custom-light: #ab5f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e161f",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 31
  },
  "hsl": {
    "h": 354.808,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38799,
    "c": 0.13775,
    "h": 22.6
  },
  "luminance": 0.05108
}

Semantic roles & 50–950 ramp

primary
#7E161F
secondary
#3DB3A9
accent
#EDDE3B
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7E161F

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

Preview Lab → · Contrast checker → · Palette generator →

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