#7E1316#7E1316

#7E1316 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.4% C 0.141 H 25.9°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#7E1316
RGBrgb(126, 19, 22)
HSLhsl(358, 74%, 28%)
HSVhsv(358, 85%, 49%)
CMYKcmyk(0%, 84.9%, 82.5%, 50.6%)
CIE-LABlab(26.62, 44.03, 28.45)
CIE-LCHlch(26.62, 52.42, 32.87°)
OKLaboklab(38.45% 0.1267 0.0616)
OKLCHoklch(38.45% 0.141 25.9)
XYZxyz(8.9830, 4.9608, 1.2434)
Luminance0.0496 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1316 #137E7B
analogous
#7E134B #7E1316 #7E4513
triadic
#7E1316 #167E13 #13167E
tetradic
#7E1316 #4B7E13 #137E7B #45137E
square
#7E1316 #4B7E13 #137E7B #45137E
split-complementary
#7E1316 #137E45 #134B7E
monochromatic
#1B0405 #490B0D #7E1316 #B31B1F #DF2C31

Accessibility & contrast

On white

10.54
#7E1316 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#7E1316 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1316
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1316#FFFFFF#000000##FFFFFF
##7E13161.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363015
Deuteranopia (green-blind)
#504711
Tritanopia (blue-blind)
#8B0016
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e1316;
/* rgb */ color: rgb(126, 19, 22);
/* oklch */ color: oklch(38.4% 0.141 25.9);
Tailwind
colors: {
  custom: {
    50: '#ac5d53',
    500: '#7e1316',
    950: '#000000',
  },
}
SCSS
$custom: #7e1316;
$custom-light: #ac5d53;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1316",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 22
  },
  "hsl": {
    "h": 358.318,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38449,
    "c": 0.14087,
    "h": 25.9
  },
  "luminance": 0.04959
}

Semantic roles & 50–950 ramp

primary
#7E1316
secondary
#39B4B0
accent
#F0EB37
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7E1316

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

Preview Lab → · Contrast checker → · Palette generator →

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