#7E1424#7E1424

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

Color values

HEX#7E1424
RGBrgb(126, 20, 36)
HSLhsl(351, 73%, 29%)
HSVhsv(351, 84%, 49%)
CMYKcmyk(0%, 84.1%, 71.4%, 50.6%)
CIE-LABlab(26.92, 44.36, 19.83)
CIE-LCHlch(26.92, 48.59, 24.08°)
OKLaboklab(38.73% 0.1311 0.0463)
OKLCHoklch(38.73% 0.139 19.4)
XYZxyz(9.1738, 5.0647, 2.1633)
Luminance0.0506 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1424 #147E6E
analogous
#7E1459 #7E1424 #7E3914
triadic
#7E1424 #247E14 #14247E
tetradic
#7E1424 #597E14 #147E6E #39147E
square
#7E1424 #597E14 #147E6E #39147E
split-complementary
#7E1424 #147E39 #14597E
monochromatic
#1A0408 #490C15 #7E1424 #B31C33 #DE2E49

Accessibility & contrast

On white

10.43
#7E1424 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7E1424 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1424
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1424#FFFFFF#000000##FFFFFF
##7E14241.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353124
Deuteranopia (green-blind)
#4F4821
Tritanopia (blue-blind)
#8B001B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1424;
/* rgb */ color: rgb(126, 20, 36);
/* oklch */ color: oklch(38.7% 0.139 19.4);
Tailwind
colors: {
  custom: {
    50: '#ab5e5e',
    500: '#7e1424',
    950: '#000000',
  },
}
SCSS
$custom: #7e1424;
$custom-light: #ab5e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1424",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 36
  },
  "hsl": {
    "h": 350.943,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38731,
    "c": 0.13899,
    "h": 19.4
  },
  "luminance": 0.05063
}

Semantic roles & 50–950 ramp

primary
#7E1424
secondary
#3AB3A1
accent
#EFD438
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7E1424

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

Preview Lab → · Contrast checker → · Palette generator →

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