#7E1416#7E1416

#7E1416 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.5% C 0.140 H 26.2°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#7E1416
RGBrgb(126, 20, 22)
HSLhsl(359, 73%, 29%)
HSVhsv(359, 84%, 49%)
CMYKcmyk(0%, 84.1%, 82.5%, 50.6%)
CIE-LABlab(26.72, 43.76, 28.55)
CIE-LCHlch(26.72, 52.25, 33.12°)
OKLaboklab(38.52% 0.1258 0.0618)
OKLCHoklch(38.52% 0.14 26.2)
XYZxyz(9.0003, 4.9953, 1.2492)
Luminance0.0499 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1416 #147E7C
analogous
#7E144B #7E1416 #7E4714
triadic
#7E1416 #167E14 #14167E
tetradic
#7E1416 #4B7E14 #147E7C #47147E
square
#7E1416 #4B7E14 #147E7C #47147E
split-complementary
#7E1416 #147E47 #144B7E
monochromatic
#1A0405 #490C0D #7E1416 #B31C1F #DE2E32

Accessibility & contrast

On white

10.51
#7E1416 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#7E1416 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1416
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1416#FFFFFF#000000##FFFFFF
##7E14161.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1416;
/* rgb */ color: rgb(126, 20, 22);
/* oklch */ color: oklch(38.5% 0.140 26.2);
Tailwind
colors: {
  custom: {
    50: '#ac5e54',
    500: '#7e1416',
    950: '#000000',
  },
}
SCSS
$custom: #7e1416;
$custom-light: #ac5e54;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1416",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 22
  },
  "hsl": {
    "h": 358.868,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38522,
    "c": 0.14016,
    "h": 26.2
  },
  "luminance": 0.04994
}

Semantic roles & 50–950 ramp

primary
#7E1416
secondary
#3AB3B1
accent
#EFEC38
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7E1416

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

Preview Lab → · Contrast checker → · Palette generator →

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