#7E211E#7E211E

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

Color values

HEX#7E211E
RGBrgb(126, 33, 30)
HSLhsl(2, 62%, 31%)
HSVhsv(2, 76%, 49%)
CMYKcmyk(0%, 73.8%, 76.2%, 50.6%)
CIE-LABlab(28.43, 39.58, 25.48)
CIE-LCHlch(28.43, 47.08, 32.77°)
OKLaboklab(39.82% 0.1145 0.0575)
OKLCHoklch(39.82% 0.128 26.7)
XYZxyz(9.3834, 5.6185, 1.8184)
Luminance0.0562 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E211E #1E7B7E
analogous
#7E1E4B #7E211E #7E511E
triadic
#7E211E #1E7E21 #211E7E
tetradic
#7E211E #4B7E1E #1E7B7E #511E7E
square
#7E211E #4B7E1E #1E7B7E #511E7E
split-complementary
#7E211E #1E7E51 #1E4B7E
monochromatic
#1B0706 #4D1412 #7E211E #AF2E2A #D24844

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E211E#FFFFFF#000000##FFFFFF
##7E211E1.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)
#3C361D
Deuteranopia (green-blind)
#534A1B
Tritanopia (blue-blind)
#8B0021
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e211e;
/* rgb */ color: rgb(126, 33, 30);
/* oklch */ color: oklch(39.8% 0.128 26.7);
Tailwind
colors: {
  custom: {
    50: '#ab635a',
    500: '#7e211e',
    950: '#000000',
  },
}
SCSS
$custom: #7e211e;
$custom-light: #ab635a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e211e",
  "rgb": {
    "r": 126,
    "g": 33,
    "b": 30
  },
  "hsl": {
    "h": 1.875,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39824,
    "c": 0.1281,
    "h": 26.7
  },
  "luminance": 0.05617
}

Semantic roles & 50–950 ramp

primary
#7E211E
secondary
#47AEB1
accent
#E0E543
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E211E

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

Preview Lab → · Contrast checker → · Palette generator →

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