#7E111A#7E111A

#7E111A is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.4% C 0.142 H 23.8°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#7E111A
RGBrgb(126, 17, 26)
HSLhsl(355, 76%, 28%)
HSVhsv(355, 87%, 49%)
CMYKcmyk(0%, 86.5%, 79.4%, 50.6%)
CIE-LABlab(26.48, 44.71, 25.82)
CIE-LCHlch(26.48, 51.63, 30.01°)
OKLaboklab(38.36% 0.1298 0.0572)
OKLCHoklch(38.36% 0.142 23.8)
XYZxyz(8.9922, 4.9126, 1.4518)
Luminance0.0491 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E111A #117E75
analogous
#7E1150 #7E111A #7E3E11
triadic
#7E111A #1A7E11 #111A7E
tetradic
#7E111A #507E11 #117E75 #3E117E
square
#7E111A #507E11 #117E75 #3E117E
split-complementary
#7E111A #117E3E #11507E
monochromatic
#1B0406 #480A0F #7E111A #B41825 #E22737

Accessibility & contrast

On white

10.59
#7E111A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E111A
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E111A#FFFFFF#000000##FFFFFF
##7E111A1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353019
Deuteranopia (green-blind)
#4F4716
Tritanopia (blue-blind)
#8B0016
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e111a;
/* rgb */ color: rgb(126, 17, 26);
/* oklch */ color: oklch(38.4% 0.142 23.8);
Tailwind
colors: {
  custom: {
    50: '#ac5d56',
    500: '#7e111a',
    950: '#000000',
  },
}
SCSS
$custom: #7e111a;
$custom-light: #ac5d56;
$custom-dark: #000000;
JSON
{
  "hex": "#7e111a",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 26
  },
  "hsl": {
    "h": 355.046,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38362,
    "c": 0.14179,
    "h": 23.8
  },
  "luminance": 0.04911
}

Semantic roles & 50–950 ramp

primary
#7E111A
secondary
#37B4AA
accent
#F3E335
background
#FBF5F5
surface
#F6E9E9
border
#D0C5C5
text
#120503
muted
#817978

Preview Lab

Preview with #7E111A

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

Preview Lab → · Contrast checker → · Palette generator →

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