#7E181A#7E181A

#7E181A is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.137 H 25.5°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#7E181A
RGBrgb(126, 24, 26)
HSLhsl(359, 68%, 29%)
HSVhsv(359, 81%, 49%)
CMYKcmyk(0%, 81%, 79.4%, 50.6%)
CIE-LABlab(27.20, 42.69, 26.60)
CIE-LCHlch(27.20, 50.30, 31.93°)
OKLaboklab(38.89% 0.1233 0.0589)
OKLCHoklch(38.89% 0.137 25.5)
XYZxyz(9.1184, 5.1649, 1.4939)
Luminance0.0516 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E181A #187E7C
analogous
#7E184D #7E181A #7E4918
triadic
#7E181A #1A7E18 #181A7E
tetradic
#7E181A #4D7E18 #187E7C #49187E
square
#7E181A #4D7E18 #187E7C #49187E
split-complementary
#7E181A #187E49 #184D7E
monochromatic
#1A0505 #4B0E0F #7E181A #B12225 #D9373B

Accessibility & contrast

On white

10.33
#7E181A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E181A
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E181A#FFFFFF#000000##FFFFFF
##7E181A1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383219
Deuteranopia (green-blind)
#514816
Tritanopia (blue-blind)
#8B001A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e181a;
/* rgb */ color: rgb(126, 24, 26);
/* oklch */ color: oklch(38.9% 0.137 25.5);
Tailwind
colors: {
  custom: {
    50: '#ab5f57',
    500: '#7e181a',
    950: '#000000',
  },
}
SCSS
$custom: #7e181a;
$custom-light: #ab5f57;
$custom-dark: #000000;
JSON
{
  "hex": "#7e181a",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 26
  },
  "hsl": {
    "h": 358.824,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38892,
    "c": 0.13667,
    "h": 25.5
  },
  "luminance": 0.05163
}

Semantic roles & 50–950 ramp

primary
#7E181A
secondary
#3FB2B0
accent
#EBE73D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978

Preview Lab

Preview with #7E181A

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

Preview Lab → · Contrast checker → · Palette generator →

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