#7E1622#7E1622

#7E1622 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.138 H 21.0°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#7E1622
RGBrgb(126, 22, 34)
HSLhsl(353, 70%, 29%)
HSVhsv(353, 83%, 49%)
CMYKcmyk(0%, 82.5%, 73%, 50.6%)
CIE-LABlab(27.09, 43.67, 21.36)
CIE-LCHlch(27.09, 48.62, 26.06°)
OKLaboklab(38.85% 0.1284 0.0493)
OKLCHoklch(38.85% 0.138 21)
XYZxyz(9.1809, 5.1264, 2.0191)
Luminance0.0512 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1622 #167E72
analogous
#7E1656 #7E1622 #7E3E16
triadic
#7E1622 #227E16 #16227E
tetradic
#7E1622 #567E16 #167E72 #3E167E
square
#7E1622 #567E16 #167E72 #3E167E
split-complementary
#7E1622 #167E3E #16567E
monochromatic
#1A0507 #4A0D14 #7E1622 #B21F30 #DB3346

Accessibility & contrast

On white

10.37
#7E1622 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1622
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1622#FFFFFF#000000##FFFFFF
##7E16221.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363222
Deuteranopia (green-blind)
#50481F
Tritanopia (blue-blind)
#8B001C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1622;
/* rgb */ color: rgb(126, 22, 34);
/* oklch */ color: oklch(38.8% 0.138 21.0);
Tailwind
colors: {
  custom: {
    50: '#ab5f5d',
    500: '#7e1622',
    950: '#000000',
  },
}
SCSS
$custom: #7e1622;
$custom-light: #ab5f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1622",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 34
  },
  "hsl": {
    "h": 353.077,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38849,
    "c": 0.13752,
    "h": 21
  },
  "luminance": 0.05125
}

Semantic roles & 50–950 ramp

primary
#7E1622
secondary
#3DB3A5
accent
#EDD83B
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7E1622

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

Preview Lab → · Contrast checker → · Palette generator →

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