#7E1811#7E1811

#7E1811 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.138 H 29.1°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#7E1811
RGBrgb(126, 24, 17)
HSLhsl(4, 76%, 28%)
HSVhsv(4, 87%, 49%)
CMYKcmyk(0%, 81%, 86.5%, 50.6%)
CIE-LABlab(27.10, 42.38, 31.82)
CIE-LCHlch(27.10, 53.00, 36.90°)
OKLaboklab(38.79% 0.1204 0.067)
OKLCHoklch(38.79% 0.138 29.1)
XYZxyz(9.0331, 5.1308, 1.0449)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1811 #11777E
analogous
#7E1140 #7E1811 #7E4E11
triadic
#7E1811 #117E18 #18117E
tetradic
#7E1811 #407E11 #11777E #4E117E
square
#7E1811 #407E11 #11777E #4E117E
split-complementary
#7E1811 #117E4E #11407E
monochromatic
#1B0504 #480E0A #7E1811 #B42218 #E23327

Accessibility & contrast

On white

10.37
#7E1811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7E1811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1811
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1811#FFFFFF#000000##FFFFFF
##7E18111.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39320F
Deuteranopia (green-blind)
#51480B
Tritanopia (blue-blind)
#8C0018
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1811;
/* rgb */ color: rgb(126, 24, 17);
/* oklch */ color: oklch(38.8% 0.138 29.1);
Tailwind
colors: {
  custom: {
    50: '#ac5f50',
    500: '#7e1811',
    950: '#000000',
  },
}
SCSS
$custom: #7e1811;
$custom-light: #ac5f50;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1811",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 17
  },
  "hsl": {
    "h": 3.853,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38791,
    "c": 0.13783,
    "h": 29.1
  },
  "luminance": 0.05129
}

Semantic roles & 50–950 ramp

primary
#7E1811
secondary
#37ACB4
accent
#E7F335
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7E1811

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

Preview Lab → · Contrast checker → · Palette generator →

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