#7E1216#7E1216

#7E1216 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.4% C 0.142 H 25.7°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#7E1216
RGBrgb(126, 18, 22)
HSLhsl(358, 75%, 28%)
HSVhsv(358, 86%, 49%)
CMYKcmyk(0%, 85.7%, 82.5%, 50.6%)
CIE-LABlab(26.53, 44.30, 28.35)
CIE-LCHlch(26.53, 52.60, 32.62°)
OKLaboklab(38.38% 0.1275 0.0614)
OKLCHoklch(38.38% 0.142 25.7)
XYZxyz(8.9664, 4.9276, 1.2379)
Luminance0.0493 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1216 #127E7A
analogous
#7E124C #7E1216 #7E4412
triadic
#7E1216 #167E12 #12167E
tetradic
#7E1216 #4C7E12 #127E7A #44127E
square
#7E1216 #4C7E12 #127E7A #44127E
split-complementary
#7E1216 #127E44 #124C7E
monochromatic
#1B0405 #480A0D #7E1216 #B41A1F #E12A31

Accessibility & contrast

On white

10.58
#7E1216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#7E1216 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1216
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1216#FFFFFF#000000##FFFFFF
##7E12161.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1216;
/* rgb */ color: rgb(126, 18, 22);
/* oklch */ color: oklch(38.4% 0.142 25.7);
Tailwind
colors: {
  custom: {
    50: '#ac5d53',
    500: '#7e1216',
    950: '#000000',
  },
}
SCSS
$custom: #7e1216;
$custom-light: #ac5d53;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1216",
  "rgb": {
    "r": 126,
    "g": 18,
    "b": 22
  },
  "hsl": {
    "h": 357.778,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38379,
    "c": 0.14154,
    "h": 25.7
  },
  "luminance": 0.04926
}

Semantic roles & 50–950 ramp

primary
#7E1216
secondary
#38B4AF
accent
#F2EB36
background
#FBF5F4
surface
#F6E9E7
border
#D0C5C3
text
#120502
muted
#817978

Preview Lab

Preview with #7E1216

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

Preview Lab → · Contrast checker → · Palette generator →

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