#7E1112#7E1112

#7E1112 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.3% C 0.143 H 27.0°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#7E1112
RGBrgb(126, 17, 18)
HSLhsl(359, 76%, 28%)
HSVhsv(359, 87%, 49%)
CMYKcmyk(0%, 86.5%, 85.7%, 50.6%)
CIE-LABlab(26.39, 44.44, 30.59)
CIE-LCHlch(26.39, 53.95, 34.54°)
OKLaboklab(38.27% 0.1271 0.0647)
OKLCHoklch(38.27% 0.143 27)
XYZxyz(8.9149, 4.8817, 1.0450)
Luminance0.0488 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1112 #117E7D
analogous
#7E1148 #7E1112 #7E4711
triadic
#7E1112 #127E11 #11127E
tetradic
#7E1112 #487E11 #117E7D #47117E
square
#7E1112 #487E11 #117E7D #47117E
split-complementary
#7E1112 #117E47 #11487E
monochromatic
#1B0404 #480A0A #7E1112 #B4181A #E22729

Accessibility & contrast

On white

10.63
#7E1112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#7E1112 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1112
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1112#FFFFFF#000000##FFFFFF
##7E11121.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F10
Deuteranopia (green-blind)
#50470C
Tritanopia (blue-blind)
#8C0013
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #7e1112;
/* rgb */ color: rgb(126, 17, 18);
/* oklch */ color: oklch(38.3% 0.143 27.0);
Tailwind
colors: {
  custom: {
    50: '#ac5d51',
    500: '#7e1112',
    950: '#000000',
  },
}
SCSS
$custom: #7e1112;
$custom-light: #ac5d51;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1112",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 18
  },
  "hsl": {
    "h": 359.45,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38267,
    "c": 0.14262,
    "h": 27
  },
  "luminance": 0.0488
}

Semantic roles & 50–950 ramp

primary
#7E1112
secondary
#37B4B3
accent
#F3F135
background
#FBF5F4
surface
#F6E9E7
border
#D0C5C3
text
#120502
muted
#817978

Preview Lab

Preview with #7E1112

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

Preview Lab → · Contrast checker → · Palette generator →

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