#7E1720#7E1720

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

Color values

HEX#7E1720
RGBrgb(126, 23, 32)
HSLhsl(355, 69%, 29%)
HSVhsv(355, 82%, 49%)
CMYKcmyk(0%, 81.7%, 74.6%, 50.6%)
CIE-LABlab(27.17, 43.27, 22.75)
CIE-LCHlch(27.17, 48.89, 27.74°)
OKLaboklab(38.9% 0.1266 0.052)
OKLCHoklch(38.9% 0.137 22.3)
XYZxyz(9.1724, 5.1541, 1.8781)
Luminance0.0515 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1720 #177E75
analogous
#7E1754 #7E1720 #7E4217
triadic
#7E1720 #207E17 #17207E
tetradic
#7E1720 #547E17 #177E75 #42177E
square
#7E1720 #547E17 #177E75 #42177E
split-complementary
#7E1720 #177E42 #17547E
monochromatic
#1A0507 #4A0E13 #7E1720 #B2202D #DA3544

Accessibility & contrast

On white

10.34
#7E1720 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1720
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1720#FFFFFF#000000##FFFFFF
##7E17201.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1720;
/* rgb */ color: rgb(126, 23, 32);
/* oklch */ color: oklch(38.9% 0.137 22.3);
Tailwind
colors: {
  custom: {
    50: '#ab5f5b',
    500: '#7e1720',
    950: '#000000',
  },
}
SCSS
$custom: #7e1720;
$custom-light: #ab5f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1720",
  "rgb": {
    "r": 126,
    "g": 23,
    "b": 32
  },
  "hsl": {
    "h": 354.757,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38896,
    "c": 0.13686,
    "h": 22.3
  },
  "luminance": 0.05153
}

Semantic roles & 50–950 ramp

primary
#7E1720
secondary
#3EB3A8
accent
#ECDD3C
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7E1720

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

Preview Lab → · Contrast checker → · Palette generator →

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