#7E1118#7E1118

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

Color values

HEX#7E1118
RGBrgb(126, 17, 24)
HSLhsl(356, 76%, 28%)
HSVhsv(356, 87%, 49%)
CMYKcmyk(0%, 86.5%, 81%, 50.6%)
CIE-LABlab(26.46, 44.63, 27.05)
CIE-LCHlch(26.46, 52.19, 31.22°)
OKLaboklab(38.34% 0.129 0.0592)
OKLCHoklch(38.34% 0.142 24.7)
XYZxyz(8.9706, 4.9039, 1.3382)
Luminance0.0490 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1118 #117E77
analogous
#7E114E #7E1118 #7E4011
triadic
#7E1118 #187E11 #11187E
tetradic
#7E1118 #4E7E11 #117E77 #40117E
square
#7E1118 #4E7E11 #117E77 #40117E
split-complementary
#7E1118 #117E40 #114E7E
monochromatic
#1B0405 #480A0E #7E1118 #B41822 #E22733

Accessibility & contrast

On white

10.60
#7E1118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1118
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1118#FFFFFF#000000##FFFFFF
##7E11181.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353017
Deuteranopia (green-blind)
#504713
Tritanopia (blue-blind)
#8B0015
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e1118;
/* rgb */ color: rgb(126, 17, 24);
/* oklch */ color: oklch(38.3% 0.142 24.7);
Tailwind
colors: {
  custom: {
    50: '#ac5d55',
    500: '#7e1118',
    950: '#000000',
  },
}
SCSS
$custom: #7e1118;
$custom-light: #ac5d55;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1118",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 24
  },
  "hsl": {
    "h": 356.147,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38335,
    "c": 0.14198,
    "h": 24.7
  },
  "luminance": 0.04902
}

Semantic roles & 50–950 ramp

primary
#7E1118
secondary
#37B4AC
accent
#F3E735
background
#FBF5F4
surface
#F6E9E8
border
#D0C5C4
text
#120503
muted
#817978

Preview Lab

Preview with #7E1118

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

Preview Lab → · Contrast checker → · Palette generator →

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