#7E1A22#7E1A22

#7E1A22 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.2% C 0.134 H 22.1°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#7E1A22
RGBrgb(126, 26, 34)
HSLhsl(355, 66%, 30%)
HSVhsv(355, 79%, 49%)
CMYKcmyk(0%, 79.4%, 73%, 50.6%)
CIE-LABlab(27.55, 42.39, 21.91)
CIE-LCHlch(27.55, 47.71, 27.33°)
OKLaboklab(39.19% 0.1243 0.0505)
OKLCHoklch(39.19% 0.134 22.1)
XYZxyz(9.2634, 5.2913, 2.0466)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A22 #1A7E76
analogous
#7E1A54 #7E1A22 #7E441A
triadic
#7E1A22 #227E1A #1A227E
tetradic
#7E1A22 #547E1A #1A7E76 #441A7E
square
#7E1A22 #547E1A #1A7E76 #441A7E
split-complementary
#7E1A22 #1A7E44 #1A547E
monochromatic
#190507 #4B1014 #7E1A22 #B12430 #D73C48

Accessibility & contrast

On white

10.20
#7E1A22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7E1A22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1A22
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A22#FFFFFF#000000##FFFFFF
##7E1A221.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383321
Deuteranopia (green-blind)
#51491F
Tritanopia (blue-blind)
#8B001E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1a22;
/* rgb */ color: rgb(126, 26, 34);
/* oklch */ color: oklch(39.2% 0.134 22.1);
Tailwind
colors: {
  custom: {
    50: '#ab605d',
    500: '#7e1a22',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a22;
$custom-light: #ab605d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a22",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 34
  },
  "hsl": {
    "h": 355.2,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39188,
    "c": 0.13416,
    "h": 22.1
  },
  "luminance": 0.0529
}

Semantic roles & 50–950 ramp

primary
#7E1A22
secondary
#42B2A9
accent
#E9DB3F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7E1A22

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

Preview Lab → · Contrast checker → · Palette generator →

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