#7E201A#7E201A

#7E201A is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.7% C 0.130 H 28.2°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#7E201A
RGBrgb(126, 32, 26)
HSLhsl(4, 66%, 30%)
HSVhsv(4, 79%, 49%)
CMYKcmyk(0%, 74.6%, 79.4%, 50.6%)
CIE-LABlab(28.23, 39.81, 27.72)
CIE-LCHlch(28.23, 48.51, 34.85°)
OKLaboklab(39.66% 0.1143 0.0613)
OKLCHoklch(39.66% 0.13 28.2)
XYZxyz(9.3082, 5.5447, 1.5572)
Luminance0.0554 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E201A #1A787E
analogous
#7E1A46 #7E201A #7E521A
triadic
#7E201A #1A7E20 #201A7E
tetradic
#7E201A #467E1A #1A787E #521A7E
square
#7E201A #467E1A #1A787E #521A7E
split-complementary
#7E201A #1A7E52 #1A467E
monochromatic
#190605 #4B1310 #7E201A #B12D24 #D7453C

Accessibility & contrast

On white

9.96
#7E201A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E201A
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E201A#FFFFFF#000000##FFFFFF
##7E201A1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3618
Deuteranopia (green-blind)
#534A16
Tritanopia (blue-blind)
#8B0020
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e201a;
/* rgb */ color: rgb(126, 32, 26);
/* oklch */ color: oklch(39.7% 0.130 28.2);
Tailwind
colors: {
  custom: {
    50: '#ab6357',
    500: '#7e201a',
    950: '#000000',
  },
}
SCSS
$custom: #7e201a;
$custom-light: #ab6357;
$custom-dark: #000000;
JSON
{
  "hex": "#7e201a",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 26
  },
  "hsl": {
    "h": 3.6,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39662,
    "c": 0.12967,
    "h": 28.2
  },
  "luminance": 0.05543
}

Semantic roles & 50–950 ramp

primary
#7E201A
secondary
#42ABB2
accent
#DFE93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E201A

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

Preview Lab → · Contrast checker → · Palette generator →

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