#7E2112#7E2112

#7E2112 is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.7% C 0.130 H 31.9°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#7E2112
RGBrgb(126, 33, 18)
HSLhsl(8, 75%, 28%)
HSVhsv(8, 86%, 49%)
CMYKcmyk(0%, 73.8%, 85.7%, 50.6%)
CIE-LABlab(28.30, 39.12, 32.37)
CIE-LCHlch(28.30, 50.78, 39.60°)
OKLaboklab(39.68% 0.1105 0.0687)
OKLCHoklch(39.68% 0.13 31.9)
XYZxyz(9.2583, 5.5684, 1.1595)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2112 #126F7E
analogous
#7E1239 #7E2112 #7E5712
triadic
#7E2112 #127E21 #21127E
tetradic
#7E2112 #397E12 #126F7E #57127E
square
#7E2112 #397E12 #126F7E #57127E
split-complementary
#7E2112 #127E57 #12397E
monochromatic
#1B0704 #48130A #7E2112 #B42F1A #E1432A

Accessibility & contrast

On white

9.94
#7E2112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7E2112 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2112
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2112#FFFFFF#000000##FFFFFF
##7E21121.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e2112;
/* rgb */ color: rgb(126, 33, 18);
/* oklch */ color: oklch(39.7% 0.130 31.9);
Tailwind
colors: {
  custom: {
    50: '#ac6351',
    500: '#7e2112',
    950: '#000000',
  },
}
SCSS
$custom: #7e2112;
$custom-light: #ac6351;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2112",
  "rgb": {
    "r": 126,
    "g": 33,
    "b": 18
  },
  "hsl": {
    "h": 8.333,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39683,
    "c": 0.13009,
    "h": 31.9
  },
  "luminance": 0.05567
}

Semantic roles & 50–950 ramp

primary
#7E2112
secondary
#38A3B4
accent
#D8F236
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #7E2112

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

Preview Lab → · Contrast checker → · Palette generator →

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