#7E1822#7E1822

#7E1822 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.136 H 21.5°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#7E1822
RGBrgb(126, 24, 34)
HSLhsl(354, 68%, 29%)
HSVhsv(354, 81%, 49%)
CMYKcmyk(0%, 81%, 73%, 50.6%)
CIE-LABlab(27.31, 43.05, 21.62)
CIE-LCHlch(27.31, 48.17, 26.67°)
OKLaboklab(39.01% 0.1264 0.0499)
OKLCHoklch(39.01% 0.136 21.5)
XYZxyz(9.2206, 5.2058, 2.0324)
Luminance0.0520 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1822 #187E74
analogous
#7E1855 #7E1822 #7E4118
triadic
#7E1822 #227E18 #18227E
tetradic
#7E1822 #557E18 #187E74 #41187E
square
#7E1822 #557E18 #187E74 #41187E
split-complementary
#7E1822 #187E41 #18557E
monochromatic
#1A0507 #4B0E14 #7E1822 #B12230 #D93747

Accessibility & contrast

On white

10.29
#7E1822 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7E1822 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1822
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1822#FFFFFF#000000##FFFFFF
##7E18221.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1822;
/* rgb */ color: rgb(126, 24, 34);
/* oklch */ color: oklch(39.0% 0.136 21.5);
Tailwind
colors: {
  custom: {
    50: '#ab605d',
    500: '#7e1822',
    950: '#000000',
  },
}
SCSS
$custom: #7e1822;
$custom-light: #ab605d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1822",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 34
  },
  "hsl": {
    "h": 354.118,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39013,
    "c": 0.13588,
    "h": 21.5
  },
  "luminance": 0.05204
}

Semantic roles & 50–950 ramp

primary
#7E1822
secondary
#3FB2A7
accent
#EBDA3D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7E1822

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

Preview Lab → · Contrast checker → · Palette generator →

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