#7E1C16#7E1C16

#7E1C16 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.2% C 0.134 H 28.5°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#7E1C16
RGBrgb(126, 28, 22)
HSLhsl(3, 70%, 29%)
HSVhsv(3, 83%, 49%)
CMYKcmyk(0%, 77.8%, 82.5%, 50.6%)
CIE-LABlab(27.64, 41.17, 29.49)
CIE-LCHlch(27.64, 50.64, 35.61°)
OKLaboklab(39.21% 0.1177 0.0639)
OKLCHoklch(39.21% 0.134 28.5)
XYZxyz(9.1654, 5.3255, 1.3042)
Luminance0.0532 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1C16 #16787E
analogous
#7E1644 #7E1C16 #7E5016
triadic
#7E1C16 #167E1C #1C167E
tetradic
#7E1C16 #447E16 #16787E #50167E
square
#7E1C16 #447E16 #16787E #50167E
split-complementary
#7E1C16 #167E50 #16447E
monochromatic
#1A0605 #4A100D #7E1C16 #B2281F #DB3D33

Accessibility & contrast

On white

10.17
#7E1C16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1C16
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1C16#FFFFFF#000000##FFFFFF
##7E1C161.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1c16;
/* rgb */ color: rgb(126, 28, 22);
/* oklch */ color: oklch(39.2% 0.134 28.5);
Tailwind
colors: {
  custom: {
    50: '#ab6154',
    500: '#7e1c16',
    950: '#000000',
  },
}
SCSS
$custom: #7e1c16;
$custom-light: #ab6154;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1c16",
  "rgb": {
    "r": 126,
    "g": 28,
    "b": 22
  },
  "hsl": {
    "h": 3.462,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39207,
    "c": 0.13387,
    "h": 28.5
  },
  "luminance": 0.05324
}

Semantic roles & 50–950 ramp

primary
#7E1C16
secondary
#3DACB3
accent
#E3ED3B
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120502
muted
#817A78

Preview Lab

Preview with #7E1C16

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

Preview Lab → · Contrast checker → · Palette generator →

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