#7E1722#7E1722

#7E1722 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.137 H 21.3°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#7E1722
RGBrgb(126, 23, 34)
HSLhsl(354, 69%, 29%)
HSVhsv(354, 82%, 49%)
CMYKcmyk(0%, 81.7%, 73%, 50.6%)
CIE-LABlab(27.20, 43.37, 21.49)
CIE-LCHlch(27.20, 48.40, 26.36°)
OKLaboklab(38.93% 0.1274 0.0496)
OKLCHoklch(38.93% 0.137 21.3)
XYZxyz(9.2004, 5.1653, 2.0256)
Luminance0.0516 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1722 #177E73
analogous
#7E1756 #7E1722 #7E4017
triadic
#7E1722 #227E17 #17227E
tetradic
#7E1722 #567E17 #177E73 #40177E
square
#7E1722 #567E17 #177E73 #40177E
split-complementary
#7E1722 #177E40 #17567E
monochromatic
#1A0507 #4A0E14 #7E1722 #B22030 #DA3547

Accessibility & contrast

On white

10.33
#7E1722 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1722
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1722#FFFFFF#000000##FFFFFF
##7E17221.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.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: #7e1722;
/* rgb */ color: rgb(126, 23, 34);
/* oklch */ color: oklch(38.9% 0.137 21.3);
Tailwind
colors: {
  custom: {
    50: '#ab5f5d',
    500: '#7e1722',
    950: '#000000',
  },
}
SCSS
$custom: #7e1722;
$custom-light: #ab5f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1722",
  "rgb": {
    "r": 126,
    "g": 23,
    "b": 34
  },
  "hsl": {
    "h": 353.592,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38929,
    "c": 0.13671,
    "h": 21.3
  },
  "luminance": 0.05164
}

Semantic roles & 50–950 ramp

primary
#7E1722
secondary
#3EB3A6
accent
#ECD93C
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7E1722

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

Preview Lab → · Contrast checker → · Palette generator →

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