#7E1A20#7E1A20

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

Color values

HEX#7E1A20
RGBrgb(126, 26, 32)
HSLhsl(356, 66%, 30%)
HSVhsv(356, 79%, 49%)
CMYKcmyk(0%, 79.4%, 74.6%, 50.6%)
CIE-LABlab(27.52, 42.29, 23.16)
CIE-LCHlch(27.52, 48.22, 28.71°)
OKLaboklab(39.16% 0.1235 0.0529)
OKLCHoklch(39.16% 0.134 23.2)
XYZxyz(9.2354, 5.2801, 1.8991)
Luminance0.0528 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A20 #1A7E78
analogous
#7E1A52 #7E1A20 #7E461A
triadic
#7E1A20 #207E1A #1A207E
tetradic
#7E1A20 #527E1A #1A7E78 #461A7E
square
#7E1A20 #527E1A #1A7E78 #461A7E
split-complementary
#7E1A20 #1A7E46 #1A527E
monochromatic
#190506 #4B1013 #7E1A20 #B1242D #D73C45

Accessibility & contrast

On white

10.22
#7E1A20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1A20
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A20#FFFFFF#000000##FFFFFF
##7E1A201.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38331F
Deuteranopia (green-blind)
#51491D
Tritanopia (blue-blind)
#8B001D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1a20;
/* rgb */ color: rgb(126, 26, 32);
/* oklch */ color: oklch(39.2% 0.134 23.2);
Tailwind
colors: {
  custom: {
    50: '#ab605b',
    500: '#7e1a20',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a20;
$custom-light: #ab605b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a20",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 32
  },
  "hsl": {
    "h": 356.4,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39155,
    "c": 0.13434,
    "h": 23.2
  },
  "luminance": 0.05279
}

Semantic roles & 50–950 ramp

primary
#7E1A20
secondary
#42B2AB
accent
#E9DF3F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7E1A20

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

Preview Lab → · Contrast checker → · Palette generator →

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