#7E1916#7E1916

#7E1916 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.136 H 27.5°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#7E1916
RGBrgb(126, 25, 22)
HSLhsl(2, 70%, 29%)
HSVhsv(2, 83%, 49%)
CMYKcmyk(0%, 80.2%, 82.5%, 50.6%)
CIE-LABlab(27.27, 42.21, 29.11)
CIE-LCHlch(27.27, 51.27, 34.59°)
OKLaboklab(38.93% 0.1209 0.063)
OKLCHoklch(38.93% 0.136 27.5)
XYZxyz(9.0977, 5.1903, 1.2817)
Luminance0.0519 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1916 #167B7E
analogous
#7E1647 #7E1916 #7E4D16
triadic
#7E1916 #167E19 #19167E
tetradic
#7E1916 #477E16 #167B7E #4D167E
square
#7E1916 #477E16 #167B7E #4D167E
split-complementary
#7E1916 #167E4D #16477E
monochromatic
#1A0505 #4A0F0D #7E1916 #B2231F #DB3833

Accessibility & contrast

On white

10.31
#7E1916 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7E1916 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1916
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1916#FFFFFF#000000##FFFFFF
##7E19161.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1916;
/* rgb */ color: rgb(126, 25, 22);
/* oklch */ color: oklch(38.9% 0.136 27.5);
Tailwind
colors: {
  custom: {
    50: '#ac6054',
    500: '#7e1916',
    950: '#000000',
  },
}
SCSS
$custom: #7e1916;
$custom-light: #ac6054;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1916",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 22
  },
  "hsl": {
    "h": 1.731,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3893,
    "c": 0.13637,
    "h": 27.5
  },
  "luminance": 0.05189
}

Semantic roles & 50–950 ramp

primary
#7E1916
secondary
#3DAFB3
accent
#E8ED3B
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7E1916

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

Preview Lab → · Contrast checker → · Palette generator →

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