#7E211D#7E211D

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

Color values

HEX#7E211D
RGBrgb(126, 33, 29)
HSLhsl(2, 63%, 30%)
HSVhsv(2, 77%, 49%)
CMYKcmyk(0%, 73.8%, 77%, 50.6%)
CIE-LABlab(28.42, 39.54, 26.08)
CIE-LCHlch(28.42, 47.37, 33.41°)
OKLaboklab(39.81% 0.1141 0.0586)
OKLCHoklch(39.81% 0.128 27.2)
XYZxyz(9.3709, 5.6135, 1.7522)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E211D #1D7A7E
analogous
#7E1D49 #7E211D #7E511D
triadic
#7E211D #1D7E21 #211D7E
tetradic
#7E211D #497E1D #1D7A7E #511D7E
square
#7E211D #497E1D #1D7A7E #511D7E
split-complementary
#7E211D #1D7E51 #1D497E
monochromatic
#1B0706 #4C1412 #7E211D #B02E28 #D34842

Accessibility & contrast

On white

9.89
#7E211D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E211D
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E211D#FFFFFF#000000##FFFFFF
##7E211D1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e211d;
/* rgb */ color: rgb(126, 33, 29);
/* oklch */ color: oklch(39.8% 0.128 27.2);
Tailwind
colors: {
  custom: {
    50: '#ab6359',
    500: '#7e211d',
    950: '#000000',
  },
}
SCSS
$custom: #7e211d;
$custom-light: #ab6359;
$custom-dark: #000000;
JSON
{
  "hex": "#7e211d",
  "rgb": {
    "r": 126,
    "g": 33,
    "b": 29
  },
  "hsl": {
    "h": 2.474,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3981,
    "c": 0.12824,
    "h": 27.2
  },
  "luminance": 0.05612
}

Semantic roles & 50–950 ramp

primary
#7E211D
secondary
#45ADB1
accent
#DFE642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E211D

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

Preview Lab → · Contrast checker → · Palette generator →

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