#7E1716#7E1716

#7E1716 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.138 H 26.9°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#7E1716
RGBrgb(126, 23, 22)
HSLhsl(1, 70%, 29%)
HSVhsv(1, 83%, 49%)
CMYKcmyk(0%, 81.7%, 82.5%, 50.6%)
CIE-LABlab(27.04, 42.86, 28.87)
CIE-LCHlch(27.04, 51.68, 33.97°)
OKLaboklab(38.76% 0.123 0.0625)
OKLCHoklch(38.76% 0.138 26.9)
XYZxyz(9.0565, 5.1078, 1.2679)
Luminance0.0511 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1716 #167D7E
analogous
#7E1649 #7E1716 #7E4B16
triadic
#7E1716 #167E17 #17167E
tetradic
#7E1716 #497E16 #167D7E #4B167E
square
#7E1716 #497E16 #167D7E #4B167E
split-complementary
#7E1716 #167E4B #16497E
monochromatic
#1A0505 #4A0D0D #7E1716 #B2211F #DB3533

Accessibility & contrast

On white

10.39
#7E1716 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7E1716 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1716
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1716#FFFFFF#000000##FFFFFF
##7E17161.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383214
Deuteranopia (green-blind)
#514811
Tritanopia (blue-blind)
#8B0018
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1716;
/* rgb */ color: rgb(126, 23, 22);
/* oklch */ color: oklch(38.8% 0.138 26.9);
Tailwind
colors: {
  custom: {
    50: '#ac5f54',
    500: '#7e1716',
    950: '#000000',
  },
}
SCSS
$custom: #7e1716;
$custom-light: #ac5f54;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1716",
  "rgb": {
    "r": 126,
    "g": 23,
    "b": 22
  },
  "hsl": {
    "h": 0.577,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38759,
    "c": 0.13795,
    "h": 26.9
  },
  "luminance": 0.05106
}

Semantic roles & 50–950 ramp

primary
#7E1716
secondary
#3DB2B3
accent
#EBED3B
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7E1716

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

Preview Lab → · Contrast checker → · Palette generator →

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