#7E1117#7E1117

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

Color values

HEX#7E1117
RGBrgb(126, 17, 23)
HSLhsl(357, 76%, 28%)
HSVhsv(357, 87%, 49%)
CMYKcmyk(0%, 86.5%, 81.7%, 50.6%)
CIE-LABlab(26.45, 44.60, 27.66)
CIE-LCHlch(26.45, 52.48, 31.81°)
OKLaboklab(38.32% 0.1287 0.0602)
OKLCHoklch(38.32% 0.142 25.1)
XYZxyz(8.9604, 4.8999, 1.2844)
Luminance0.0490 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1117 #117E78
analogous
#7E114D #7E1117 #7E4111
triadic
#7E1117 #177E11 #11177E
tetradic
#7E1117 #4D7E11 #117E78 #41117E
square
#7E1117 #4D7E11 #117E78 #41117E
split-complementary
#7E1117 #117E41 #114D7E
monochromatic
#1B0405 #480A0D #7E1117 #B41821 #E22732

Accessibility & contrast

On white

10.61
#7E1117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1117
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1117#FFFFFF#000000##FFFFFF
##7E11171.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1117;
/* rgb */ color: rgb(126, 17, 23);
/* oklch */ color: oklch(38.3% 0.142 25.1);
Tailwind
colors: {
  custom: {
    50: '#ac5d54',
    500: '#7e1117',
    950: '#000000',
  },
}
SCSS
$custom: #7e1117;
$custom-light: #ac5d54;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1117",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 23
  },
  "hsl": {
    "h": 356.697,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38323,
    "c": 0.14209,
    "h": 25.1
  },
  "luminance": 0.04898
}

Semantic roles & 50–950 ramp

primary
#7E1117
secondary
#37B4AD
accent
#F3E835
background
#FBF5F4
surface
#F6E9E7
border
#D0C5C3
text
#120502
muted
#817978

Preview Lab

Preview with #7E1117

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

Preview Lab → · Contrast checker → · Palette generator →

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