#7E1422#7E1422

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

Color values

HEX#7E1422
RGBrgb(126, 20, 34)
HSLhsl(352, 73%, 29%)
HSVhsv(352, 84%, 49%)
CMYKcmyk(0%, 84.1%, 73%, 50.6%)
CIE-LABlab(26.88, 44.26, 21.11)
CIE-LCHlch(26.88, 49.03, 25.50°)
OKLaboklab(38.7% 0.1303 0.0488)
OKLCHoklch(38.7% 0.139 20.5)
XYZxyz(9.1441, 5.0529, 2.0069)
Luminance0.0505 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1422 #147E70
analogous
#7E1457 #7E1422 #7E3B14
triadic
#7E1422 #227E14 #14227E
tetradic
#7E1422 #577E14 #147E70 #3B147E
square
#7E1422 #577E14 #147E70 #3B147E
split-complementary
#7E1422 #147E3B #14577E
monochromatic
#1A0407 #490C14 #7E1422 #B31C30 #DE2E46

Accessibility & contrast

On white

10.45
#7E1422 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1422
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1422#FFFFFF#000000##FFFFFF
##7E14221.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1422;
/* rgb */ color: rgb(126, 20, 34);
/* oklch */ color: oklch(38.7% 0.139 20.5);
Tailwind
colors: {
  custom: {
    50: '#ab5e5d',
    500: '#7e1422',
    950: '#000000',
  },
}
SCSS
$custom: #7e1422;
$custom-light: #ab5e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1422",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 34
  },
  "hsl": {
    "h": 352.075,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38695,
    "c": 0.13908,
    "h": 20.5
  },
  "luminance": 0.05051
}

Semantic roles & 50–950 ramp

primary
#7E1422
secondary
#3AB3A3
accent
#EFD738
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7E1422

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

Preview Lab → · Contrast checker → · Palette generator →

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