#7E202A#7E202A

#7E202A is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.9% C 0.128 H 19.5°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#7E202A
RGBrgb(126, 32, 42)
HSLhsl(354, 59%, 31%)
HSVhsv(354, 75%, 49%)
CMYKcmyk(0%, 74.6%, 66.7%, 50.6%)
CIE-LABlab(28.48, 40.65, 17.82)
CIE-LCHlch(28.48, 44.38, 23.68°)
OKLaboklab(39.92% 0.1206 0.0426)
OKLCHoklch(39.92% 0.128 19.5)
XYZxyz(9.5396, 5.6372, 2.7758)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E202A #207E74
analogous
#7E2059 #7E202A #7E4520
triadic
#7E202A #2A7E20 #202A7E
tetradic
#7E202A #597E20 #207E74 #45207E
square
#7E202A #597E20 #207E74 #45207E
split-complementary
#7E202A #207E45 #20597E
monochromatic
#1C0709 #4D141A #7E202A #AF2C3A #D04856

Accessibility & contrast

On white

9.87
#7E202A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7E202A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E202A
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E202A#FFFFFF#000000##FFFFFF
##7E202A1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A372A
Deuteranopia (green-blind)
#524A27
Tritanopia (blue-blind)
#8B0224
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e202a;
/* rgb */ color: rgb(126, 32, 42);
/* oklch */ color: oklch(39.9% 0.128 19.5);
Tailwind
colors: {
  custom: {
    50: '#aa6363',
    500: '#7e202a',
    950: '#000000',
  },
}
SCSS
$custom: #7e202a;
$custom-light: #aa6363;
$custom-dark: #000000;
JSON
{
  "hex": "#7e202a",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 42
  },
  "hsl": {
    "h": 353.617,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39923,
    "c": 0.12785,
    "h": 19.5
  },
  "luminance": 0.05636
}

Semantic roles & 50–950 ramp

primary
#7E202A
secondary
#49B1A6
accent
#E3D245
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7E202A

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

Preview Lab → · Contrast checker → · Palette generator →

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