#7E1A16#7E1A16

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

Color values

HEX#7E1A16
RGBrgb(126, 26, 22)
HSLhsl(2, 70%, 29%)
HSVhsv(2, 83%, 49%)
CMYKcmyk(0%, 79.4%, 82.5%, 50.6%)
CIE-LABlab(27.39, 41.87, 29.23)
CIE-LCHlch(27.39, 51.07, 34.92°)
OKLaboklab(39.02% 0.1199 0.0633)
OKLCHoklch(39.02% 0.136 27.8)
XYZxyz(9.1195, 5.2338, 1.2889)
Luminance0.0523 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A16 #167A7E
analogous
#7E1646 #7E1A16 #7E4E16
triadic
#7E1A16 #167E1A #1A167E
tetradic
#7E1A16 #467E16 #167A7E #4E167E
square
#7E1A16 #467E16 #167A7E #4E167E
split-complementary
#7E1A16 #167E4E #16467E
monochromatic
#1A0505 #4A0F0D #7E1A16 #B2251F #DB3933

Accessibility & contrast

On white

10.26
#7E1A16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7E1A16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1A16
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A16#FFFFFF#000000##FFFFFF
##7E1A161.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393314
Deuteranopia (green-blind)
#524911
Tritanopia (blue-blind)
#8B001A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1a16;
/* rgb */ color: rgb(126, 26, 22);
/* oklch */ color: oklch(39.0% 0.136 27.8);
Tailwind
colors: {
  custom: {
    50: '#ac6054',
    500: '#7e1a16',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a16;
$custom-light: #ac6054;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a16",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 22
  },
  "hsl": {
    "h": 2.308,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3902,
    "c": 0.13556,
    "h": 27.8
  },
  "luminance": 0.05232
}

Semantic roles & 50–950 ramp

primary
#7E1A16
secondary
#3DAEB3
accent
#E6ED3B
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7E1A16

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

Preview Lab → · Contrast checker → · Palette generator →

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