#7E1322#7E1322

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

Color values

HEX#7E1322
RGBrgb(126, 19, 34)
HSLhsl(352, 74%, 28%)
HSVhsv(352, 85%, 49%)
CMYKcmyk(0%, 84.9%, 73%, 50.6%)
CIE-LABlab(26.79, 44.54, 20.99)
CIE-LCHlch(26.79, 49.24, 25.24°)
OKLaboklab(38.62% 0.1312 0.0485)
OKLCHoklch(38.62% 0.14 20.3)
XYZxyz(9.1269, 5.0183, 2.0011)
Luminance0.0502 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1322 #137E6F
analogous
#7E1357 #7E1322 #7E3913
triadic
#7E1322 #227E13 #13227E
tetradic
#7E1322 #577E13 #137E6F #39137E
square
#7E1322 #577E13 #137E6F #39137E
split-complementary
#7E1322 #137E39 #13577E
monochromatic
#1B0407 #490B14 #7E1322 #B31B30 #DF2C45

Accessibility & contrast

On white

10.48
#7E1322 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1322
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1322#FFFFFF#000000##FFFFFF
##7E13221.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353122
Deuteranopia (green-blind)
#4F471E
Tritanopia (blue-blind)
#8B001A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e1322;
/* rgb */ color: rgb(126, 19, 34);
/* oklch */ color: oklch(38.6% 0.140 20.3);
Tailwind
colors: {
  custom: {
    50: '#ab5e5d',
    500: '#7e1322',
    950: '#000000',
  },
}
SCSS
$custom: #7e1322;
$custom-light: #ab5e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1322",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 34
  },
  "hsl": {
    "h": 351.589,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38623,
    "c": 0.13983,
    "h": 20.3
  },
  "luminance": 0.05017
}

Semantic roles & 50–950 ramp

primary
#7E1322
secondary
#39B4A2
accent
#F0D737
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7E1322

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

Preview Lab → · Contrast checker → · Palette generator →

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