#7E1819#7E1819

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

Color values

HEX#7E1819
RGBrgb(126, 24, 25)
HSLhsl(359, 68%, 29%)
HSVhsv(359, 81%, 49%)
CMYKcmyk(0%, 81%, 80.2%, 50.6%)
CIE-LABlab(27.19, 42.65, 27.21)
CIE-LCHlch(27.19, 50.59, 32.54°)
OKLaboklab(38.88% 0.123 0.0599)
OKLCHoklch(38.88% 0.137 26)
XYZxyz(9.1074, 5.1605, 1.4361)
Luminance0.0516 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1819 #187E7D
analogous
#7E184C #7E1819 #7E4A18
triadic
#7E1819 #197E18 #18197E
tetradic
#7E1819 #4C7E18 #187E7D #4A187E
square
#7E1819 #4C7E18 #187E7D #4A187E
split-complementary
#7E1819 #187E4A #184C7E
monochromatic
#1A0505 #4B0E0F #7E1819 #B12223 #D93739

Accessibility & contrast

On white

10.34
#7E1819 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1819
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1819#FFFFFF#000000##FFFFFF
##7E18191.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1819;
/* rgb */ color: rgb(126, 24, 25);
/* oklch */ color: oklch(38.9% 0.137 26.0);
Tailwind
colors: {
  custom: {
    50: '#ab5f56',
    500: '#7e1819',
    950: '#000000',
  },
}
SCSS
$custom: #7e1819;
$custom-light: #ab5f56;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1819",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 25
  },
  "hsl": {
    "h": 359.412,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38879,
    "c": 0.13679,
    "h": 26
  },
  "luminance": 0.05159
}

Semantic roles & 50–950 ramp

primary
#7E1819
secondary
#3FB2B1
accent
#EBE93D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978

Preview Lab

Preview with #7E1819

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

Preview Lab → · Contrast checker → · Palette generator →

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