#7E1418#7E1418

#7E1418 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.5% C 0.140 H 25.3°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#7E1418
RGBrgb(126, 20, 24)
HSLhsl(358, 73%, 29%)
HSVhsv(358, 84%, 49%)
CMYKcmyk(0%, 84.1%, 81%, 50.6%)
CIE-LABlab(26.74, 43.83, 27.35)
CIE-LCHlch(26.74, 51.66, 31.97°)
OKLaboklab(38.55% 0.1265 0.0599)
OKLCHoklch(38.55% 0.14 25.3)
XYZxyz(9.0203, 5.0033, 1.3548)
Luminance0.0500 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1418 #147E7A
analogous
#7E144D #7E1418 #7E4514
triadic
#7E1418 #187E14 #14187E
tetradic
#7E1418 #4D7E14 #147E7A #45147E
square
#7E1418 #4D7E14 #147E7A #45147E
split-complementary
#7E1418 #147E45 #144D7E
monochromatic
#1A0405 #490C0E #7E1418 #B31C22 #DE2E35

Accessibility & contrast

On white

10.50
#7E1418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#7E1418 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1418
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1418#FFFFFF#000000##FFFFFF
##7E14181.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363117
Deuteranopia (green-blind)
#504713
Tritanopia (blue-blind)
#8B0017
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e1418;
/* rgb */ color: rgb(126, 20, 24);
/* oklch */ color: oklch(38.5% 0.140 25.3);
Tailwind
colors: {
  custom: {
    50: '#ac5e55',
    500: '#7e1418',
    950: '#000000',
  },
}
SCSS
$custom: #7e1418;
$custom-light: #ac5e55;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1418",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 24
  },
  "hsl": {
    "h": 357.736,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38546,
    "c": 0.13994,
    "h": 25.3
  },
  "luminance": 0.05002
}

Semantic roles & 50–950 ramp

primary
#7E1418
secondary
#3AB3AF
accent
#EFE838
background
#FBF5F4
surface
#F6EAE8
border
#D0C6C4
text
#120503
muted
#817978

Preview Lab

Preview with #7E1418

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

Preview Lab → · Contrast checker → · Palette generator →

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