#7E211C#7E211C

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

Color values

HEX#7E211C
RGBrgb(126, 33, 28)
HSLhsl(3, 64%, 30%)
HSVhsv(3, 78%, 49%)
CMYKcmyk(0%, 73.8%, 77.8%, 50.6%)
CIE-LABlab(28.40, 39.49, 26.68)
CIE-LCHlch(28.40, 47.66, 34.05°)
OKLaboklab(39.8% 0.1137 0.0596)
OKLCHoklch(39.8% 0.128 27.7)
XYZxyz(9.3587, 5.6086, 1.6882)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E211C #1C797E
analogous
#7E1C48 #7E211C #7E521C
triadic
#7E211C #1C7E21 #211C7E
tetradic
#7E211C #487E1C #1C797E #521C7E
square
#7E211C #487E1C #1C797E #521C7E
split-complementary
#7E211C #1C7E52 #1C487E
monochromatic
#1A0706 #4C1411 #7E211C #B02E27 #D54740

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E211C#FFFFFF#000000##FFFFFF
##7E211C1.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)
#3C361B
Deuteranopia (green-blind)
#534A19
Tritanopia (blue-blind)
#8B0021
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e211c;
/* rgb */ color: rgb(126, 33, 28);
/* oklch */ color: oklch(39.8% 0.128 27.7);
Tailwind
colors: {
  custom: {
    50: '#ab6358',
    500: '#7e211c',
    950: '#000000',
  },
}
SCSS
$custom: #7e211c;
$custom-light: #ab6358;
$custom-dark: #000000;
JSON
{
  "hex": "#7e211c",
  "rgb": {
    "r": 126,
    "g": 33,
    "b": 28
  },
  "hsl": {
    "h": 3.061,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39797,
    "c": 0.12841,
    "h": 27.7
  },
  "luminance": 0.05607
}

Semantic roles & 50–950 ramp

primary
#7E211C
secondary
#44ACB2
accent
#DEE741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E211C

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

Preview Lab → · Contrast checker → · Palette generator →

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