#7E211F#7E211F

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

Color values

HEX#7E211F
RGBrgb(126, 33, 31)
HSLhsl(1, 61%, 31%)
HSVhsv(1, 75%, 49%)
CMYKcmyk(0%, 73.8%, 75.4%, 50.6%)
CIE-LABlab(28.44, 39.63, 24.87)
CIE-LCHlch(28.44, 46.79, 32.11°)
OKLaboklab(39.84% 0.1148 0.0564)
OKLCHoklch(39.84% 0.128 26.2)
XYZxyz(9.3964, 5.6237, 1.8868)
Luminance0.0562 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E211F #1F7C7E
analogous
#7E1F4C #7E211F #7E501F
triadic
#7E211F #1F7E21 #211F7E
tetradic
#7E211F #4C7E1F #1F7C7E #501F7E
square
#7E211F #4C7E1F #1F7C7E #501F7E
split-complementary
#7E211F #1F7E50 #1F4C7E
monochromatic
#1C0707 #4D1413 #7E211F #AF2E2B #D14946

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E211F#FFFFFF#000000##FFFFFF
##7E211F1.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)
#3C361E
Deuteranopia (green-blind)
#534A1C
Tritanopia (blue-blind)
#8B0022
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e211f;
/* rgb */ color: rgb(126, 33, 31);
/* oklch */ color: oklch(39.8% 0.128 26.2);
Tailwind
colors: {
  custom: {
    50: '#ab635b',
    500: '#7e211f',
    950: '#000000',
  },
}
SCSS
$custom: #7e211f;
$custom-light: #ab635b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e211f",
  "rgb": {
    "r": 126,
    "g": 33,
    "b": 31
  },
  "hsl": {
    "h": 1.263,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39839,
    "c": 0.12794,
    "h": 26.2
  },
  "luminance": 0.05622
}

Semantic roles & 50–950 ramp

primary
#7E211F
secondary
#48AFB1
accent
#E0E444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7E211F

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

Preview Lab → · Contrast checker → · Palette generator →

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