#7E2020#7E2020

#7E2020 is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.7% C 0.129 H 25.2°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#7E2020
RGBrgb(126, 32, 32)
HSLhsl(0, 59%, 31%)
HSVhsv(0, 75%, 49%)
CMYKcmyk(0%, 74.6%, 74.6%, 50.6%)
CIE-LABlab(28.31, 40.08, 24.09)
CIE-LCHlch(28.31, 46.76, 31.01°)
OKLaboklab(39.75% 0.1165 0.0549)
OKLCHoklch(39.75% 0.129 25.2)
XYZxyz(9.3825, 5.5743, 1.9481)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2020 #207E7E
analogous
#7E204F #7E2020 #7E4F20
triadic
#7E2020 #207E20 #20207E
tetradic
#7E2020 #4F7E20 #207E7E #4F207E
square
#7E2020 #4F7E20 #207E7E #4F207E
split-complementary
#7E2020 #207E4F #204F7E
monochromatic
#1C0707 #4D1414 #7E2020 #AF2C2C #D04848

Accessibility & contrast

On white

9.93
#7E2020 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7E2020 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2020
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2020#FFFFFF#000000##FFFFFF
##7E20201.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B361F
Deuteranopia (green-blind)
#534A1D
Tritanopia (blue-blind)
#8B0021
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e2020;
/* rgb */ color: rgb(126, 32, 32);
/* oklch */ color: oklch(39.7% 0.129 25.2);
Tailwind
colors: {
  custom: {
    50: '#aa635b',
    500: '#7e2020',
    950: '#000000',
  },
}
SCSS
$custom: #7e2020;
$custom-light: #aa635b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2020",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 32
  },
  "hsl": {
    "h": 0,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39746,
    "c": 0.12878,
    "h": 25.2
  },
  "luminance": 0.05573
}

Semantic roles & 50–950 ramp

primary
#7E2020
secondary
#49B1B1
accent
#E3E345
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7E2020

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

Preview Lab → · Contrast checker → · Palette generator →

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