#7E111B#7E111B

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

Color values

HEX#7E111B
RGBrgb(126, 17, 27)
HSLhsl(354, 76%, 28%)
HSVhsv(354, 87%, 49%)
CMYKcmyk(0%, 86.5%, 78.6%, 50.6%)
CIE-LABlab(26.50, 44.75, 25.20)
CIE-LCHlch(26.50, 51.36, 29.39°)
OKLaboklab(38.38% 0.1301 0.0561)
OKLCHoklch(38.38% 0.142 23.3)
XYZxyz(9.0036, 4.9171, 1.5117)
Luminance0.0492 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E111B #117E74
analogous
#7E1152 #7E111B #7E3D11
triadic
#7E111B #1B7E11 #111B7E
tetradic
#7E111B #527E11 #117E74 #3D117E
square
#7E111B #527E11 #117E74 #3D117E
split-complementary
#7E111B #117E3D #11527E
monochromatic
#1B0406 #480A0F #7E111B #B41827 #E22739

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E111B#FFFFFF#000000##FFFFFF
##7E111B1.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)
#35301A
Deuteranopia (green-blind)
#4F4717
Tritanopia (blue-blind)
#8B0016
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e111b;
/* rgb */ color: rgb(126, 17, 27);
/* oklch */ color: oklch(38.4% 0.142 23.3);
Tailwind
colors: {
  custom: {
    50: '#ac5d57',
    500: '#7e111b',
    950: '#000000',
  },
}
SCSS
$custom: #7e111b;
$custom-light: #ac5d57;
$custom-dark: #000000;
JSON
{
  "hex": "#7e111b",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 27
  },
  "hsl": {
    "h": 354.495,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38375,
    "c": 0.1417,
    "h": 23.3
  },
  "luminance": 0.04916
}

Semantic roles & 50–950 ramp

primary
#7E111B
secondary
#37B4A9
accent
#F3E135
background
#FBF5F5
surface
#F6E9E9
border
#D0C5C5
text
#120503
muted
#817978

Preview Lab

Preview with #7E111B

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

Preview Lab → · Contrast checker → · Palette generator →

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