#7E2212#7E2212

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

Color values

HEX#7E2212
RGBrgb(126, 34, 18)
HSLhsl(9, 75%, 28%)
HSVhsv(9, 86%, 49%)
CMYKcmyk(0%, 73%, 85.7%, 50.6%)
CIE-LABlab(28.45, 38.71, 32.51)
CIE-LCHlch(28.45, 50.55, 40.02°)
OKLaboklab(39.8% 0.1092 0.069)
OKLCHoklch(39.8% 0.129 32.3)
XYZxyz(9.2865, 5.6248, 1.1689)
Luminance0.0562 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2212 #126E7E
analogous
#7E1238 #7E2212 #7E5812
triadic
#7E2212 #127E22 #22127E
tetradic
#7E2212 #387E12 #126E7E #58127E
square
#7E2212 #387E12 #126E7E #58127E
split-complementary
#7E2212 #127E58 #12387E
monochromatic
#1B0704 #48140A #7E2212 #B4301A #E1452A

Accessibility & contrast

On white

9.88
#7E2212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2212
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2212#FFFFFF#000000##FFFFFF
##7E22121.009.882.129.88
#FFFFFF9.881.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D360F
Deuteranopia (green-blind)
#544B0D
Tritanopia (blue-blind)
#8B001F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e2212;
/* rgb */ color: rgb(126, 34, 18);
/* oklch */ color: oklch(39.8% 0.129 32.3);
Tailwind
colors: {
  custom: {
    50: '#ab6452',
    500: '#7e2212',
    950: '#000000',
  },
}
SCSS
$custom: #7e2212;
$custom-light: #ab6452;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2212",
  "rgb": {
    "r": 126,
    "g": 34,
    "b": 18
  },
  "hsl": {
    "h": 8.889,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39795,
    "c": 0.12918,
    "h": 32.3
  },
  "luminance": 0.05623
}

Semantic roles & 50–950 ramp

primary
#7E2212
secondary
#38A1B4
accent
#D6F236
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #7E2212

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

Preview Lab → · Contrast checker → · Palette generator →

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