#7E201E#7E201E

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

Color values

HEX#7E201E
RGBrgb(126, 32, 30)
HSLhsl(1, 62%, 31%)
HSVhsv(1, 76%, 49%)
CMYKcmyk(0%, 74.6%, 76.2%, 50.6%)
CIE-LABlab(28.28, 39.98, 25.32)
CIE-LCHlch(28.28, 47.32, 32.34°)
OKLaboklab(39.72% 0.1157 0.0571)
OKLCHoklch(39.72% 0.129 26.3)
XYZxyz(9.3561, 5.5638, 1.8093)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E201E #1E7C7E
analogous
#7E1E4C #7E201E #7E501E
triadic
#7E201E #1E7E20 #201E7E
tetradic
#7E201E #4C7E1E #1E7C7E #501E7E
square
#7E201E #4C7E1E #1E7C7E #501E7E
split-complementary
#7E201E #1E7E50 #1E4C7E
monochromatic
#1B0706 #4D1312 #7E201E #AF2D2A #D24744

Accessibility & contrast

On white

9.94
#7E201E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E201E
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E201E#FFFFFF#000000##FFFFFF
##7E201E1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e201e;
/* rgb */ color: rgb(126, 32, 30);
/* oklch */ color: oklch(39.7% 0.129 26.3);
Tailwind
colors: {
  custom: {
    50: '#ab635a',
    500: '#7e201e',
    950: '#000000',
  },
}
SCSS
$custom: #7e201e;
$custom-light: #ab635a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e201e",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 30
  },
  "hsl": {
    "h": 1.25,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39716,
    "c": 0.12905,
    "h": 26.3
  },
  "luminance": 0.05562
}

Semantic roles & 50–950 ramp

primary
#7E201E
secondary
#47AFB1
accent
#E1E543
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E201E

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

Preview Lab → · Contrast checker → · Palette generator →

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