#7E211A#7E211A

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

Color values

HEX#7E211A
RGBrgb(126, 33, 26)
HSLhsl(4, 66%, 30%)
HSVhsv(4, 79%, 49%)
CMYKcmyk(0%, 73.8%, 79.4%, 50.6%)
CIE-LABlab(28.38, 39.41, 27.87)
CIE-LCHlch(28.38, 48.27, 35.27°)
OKLaboklab(39.77% 0.113 0.0616)
OKLCHoklch(39.77% 0.129 28.6)
XYZxyz(9.3356, 5.5993, 1.5663)
Luminance0.0560 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E211A #1A777E
analogous
#7E1A45 #7E211A #7E531A
triadic
#7E211A #1A7E21 #211A7E
tetradic
#7E211A #457E1A #1A777E #531A7E
square
#7E211A #457E1A #1A777E #531A7E
split-complementary
#7E211A #1A7E53 #1A457E
monochromatic
#190705 #4B1410 #7E211A #B12E24 #D7473C

Accessibility & contrast

On white

9.91
#7E211A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7E211A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E211A
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E211A#FFFFFF#000000##FFFFFF
##7E211A1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.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: #7e211a;
/* rgb */ color: rgb(126, 33, 26);
/* oklch */ color: oklch(39.8% 0.129 28.6);
Tailwind
colors: {
  custom: {
    50: '#ab6357',
    500: '#7e211a',
    950: '#000000',
  },
}
SCSS
$custom: #7e211a;
$custom-light: #ab6357;
$custom-dark: #000000;
JSON
{
  "hex": "#7e211a",
  "rgb": {
    "r": 126,
    "g": 33,
    "b": 26
  },
  "hsl": {
    "h": 4.2,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39771,
    "c": 0.12873,
    "h": 28.6
  },
  "luminance": 0.05598
}

Semantic roles & 50–950 ramp

primary
#7E211A
secondary
#42AAB2
accent
#DDE93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E211A

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

Preview Lab → · Contrast checker → · Palette generator →

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