#7E1020#7E1020

#7E1020 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.4% C 0.142 H 20.7°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#7E1020
RGBrgb(126, 16, 32)
HSLhsl(351, 77%, 28%)
HSVhsv(351, 87%, 49%)
CMYKcmyk(0%, 87.3%, 74.6%, 50.6%)
CIE-LABlab(26.48, 45.22, 21.94)
CIE-LCHlch(26.48, 50.26, 25.89°)
OKLaboklab(38.39% 0.1328 0.0502)
OKLCHoklch(38.39% 0.142 20.7)
XYZxyz(9.0513, 4.9119, 1.8377)
Luminance0.0491 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1020 #107E6E
analogous
#7E1057 #7E1020 #7E3710
triadic
#7E1020 #207E10 #10207E
tetradic
#7E1020 #577E10 #107E6E #37107E
square
#7E1020 #577E10 #107E6E #37107E
split-complementary
#7E1020 #107E37 #10577E
monochromatic
#1B0307 #480912 #7E1020 #B4172E #E32541

Accessibility & contrast

On white

10.60
#7E1020 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#7E1020 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1020
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1020#FFFFFF#000000##FFFFFF
##7E10201.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343020
Deuteranopia (green-blind)
#4F471C
Tritanopia (blue-blind)
#8B0018
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e1020;
/* rgb */ color: rgb(126, 16, 32);
/* oklch */ color: oklch(38.4% 0.142 20.7);
Tailwind
colors: {
  custom: {
    50: '#ab5d5b',
    500: '#7e1020',
    950: '#000000',
  },
}
SCSS
$custom: #7e1020;
$custom-light: #ab5d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1020",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 32
  },
  "hsl": {
    "h": 351.273,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38388,
    "c": 0.142,
    "h": 20.7
  },
  "luminance": 0.0491
}

Semantic roles & 50–950 ramp

primary
#7E1020
secondary
#36B4A2
accent
#F4D834
background
#FBF5F5
surface
#F6E9E9
border
#D0C5C5
text
#110504
muted
#807979

Preview Lab

Preview with #7E1020

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

Preview Lab → · Contrast checker → · Palette generator →

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