#7E1B16#7E1B16

#7E1B16 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.1% C 0.135 H 28.2°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#7E1B16
RGBrgb(126, 27, 22)
HSLhsl(3, 70%, 29%)
HSVhsv(3, 83%, 49%)
CMYKcmyk(0%, 78.6%, 82.5%, 50.6%)
CIE-LABlab(27.52, 41.52, 29.36)
CIE-LCHlch(27.52, 50.85, 35.26°)
OKLaboklab(39.11% 0.1188 0.0636)
OKLCHoklch(39.11% 0.135 28.2)
XYZxyz(9.1420, 5.2789, 1.2965)
Luminance0.0528 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1B16 #16797E
analogous
#7E1645 #7E1B16 #7E4F16
triadic
#7E1B16 #167E1B #1B167E
tetradic
#7E1B16 #457E16 #16797E #4F167E
square
#7E1B16 #457E16 #16797E #4F167E
split-complementary
#7E1B16 #167E4F #16457E
monochromatic
#1A0605 #4A100D #7E1B16 #B2261F #DB3B33

Accessibility & contrast

On white

10.22
#7E1B16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7E1B16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1B16
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1B16#FFFFFF#000000##FFFFFF
##7E1B161.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3314
Deuteranopia (green-blind)
#524911
Tritanopia (blue-blind)
#8B001B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1b16;
/* rgb */ color: rgb(126, 27, 22);
/* oklch */ color: oklch(39.1% 0.135 28.2);
Tailwind
colors: {
  custom: {
    50: '#ac6054',
    500: '#7e1b16',
    950: '#000000',
  },
}
SCSS
$custom: #7e1b16;
$custom-light: #ac6054;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1b16",
  "rgb": {
    "r": 126,
    "g": 27,
    "b": 22
  },
  "hsl": {
    "h": 2.885,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39112,
    "c": 0.13473,
    "h": 28.2
  },
  "luminance": 0.05277
}

Semantic roles & 50–950 ramp

primary
#7E1B16
secondary
#3DADB3
accent
#E4ED3B
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120502
muted
#817A78

Preview Lab

Preview with #7E1B16

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

Preview Lab → · Contrast checker → · Palette generator →

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