#7E211B#7E211B

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

Color values

HEX#7E211B
RGBrgb(126, 33, 27)
HSLhsl(4, 65%, 30%)
HSVhsv(4, 79%, 49%)
CMYKcmyk(0%, 73.8%, 78.6%, 50.6%)
CIE-LABlab(28.39, 39.45, 27.28)
CIE-LCHlch(28.39, 47.96, 34.67°)
OKLaboklab(39.78% 0.1134 0.0606)
OKLCHoklch(39.78% 0.129 28.1)
XYZxyz(9.3469, 5.6039, 1.6262)
Luminance0.0560 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E211B #1B787E
analogous
#7E1B47 #7E211B #7E521B
triadic
#7E211B #1B7E21 #211B7E
tetradic
#7E211B #477E1B #1B787E #521B7E
square
#7E211B #477E1B #1B787E #521B7E
split-complementary
#7E211B #1B7E52 #1B477E
monochromatic
#190705 #4C1410 #7E211B #B02E26 #D6473E

Accessibility & contrast

On white

9.90
#7E211B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E211B
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E211B#FFFFFF#000000##FFFFFF
##7E211B1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e211b;
/* rgb */ color: rgb(126, 33, 27);
/* oklch */ color: oklch(39.8% 0.129 28.1);
Tailwind
colors: {
  custom: {
    50: '#ab6358',
    500: '#7e211b',
    950: '#000000',
  },
}
SCSS
$custom: #7e211b;
$custom-light: #ab6358;
$custom-dark: #000000;
JSON
{
  "hex": "#7e211b",
  "rgb": {
    "r": 126,
    "g": 33,
    "b": 27
  },
  "hsl": {
    "h": 3.636,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.39783,
    "c": 0.12857,
    "h": 28.1
  },
  "luminance": 0.05602
}

Semantic roles & 50–950 ramp

primary
#7E211B
secondary
#43ABB2
accent
#DEE840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E211B

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

Preview Lab → · Contrast checker → · Palette generator →

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