#7E1516#7E1516

#7E1516 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.6% C 0.139 H 26.4°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#7E1516
RGBrgb(126, 21, 22)
HSLhsl(359, 71%, 29%)
HSVhsv(359, 83%, 49%)
CMYKcmyk(0%, 83.3%, 82.5%, 50.6%)
CIE-LABlab(26.82, 43.47, 28.65)
CIE-LCHlch(26.82, 52.06, 33.39°)
OKLaboklab(38.6% 0.1249 0.062)
OKLCHoklch(38.6% 0.139 26.4)
XYZxyz(9.0183, 5.0313, 1.2552)
Luminance0.0503 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1516 #157E7D
analogous
#7E154B #7E1516 #7E4915
triadic
#7E1516 #167E15 #15167E
tetradic
#7E1516 #4B7E15 #157E7D #49157E
square
#7E1516 #4B7E15 #157E7D #49157E
split-complementary
#7E1516 #157E49 #154B7E
monochromatic
#1A0405 #4A0C0D #7E1516 #B21E1F #DD3132

Accessibility & contrast

On white

10.47
#7E1516 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7E1516 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1516
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1516#FFFFFF#000000##FFFFFF
##7E15161.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373115
Deuteranopia (green-blind)
#514711
Tritanopia (blue-blind)
#8B0017
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e1516;
/* rgb */ color: rgb(126, 21, 22);
/* oklch */ color: oklch(38.6% 0.139 26.4);
Tailwind
colors: {
  custom: {
    50: '#ac5e54',
    500: '#7e1516',
    950: '#000000',
  },
}
SCSS
$custom: #7e1516;
$custom-light: #ac5e54;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1516",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 22
  },
  "hsl": {
    "h": 359.429,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38598,
    "c": 0.13945,
    "h": 26.4
  },
  "luminance": 0.0503
}

Semantic roles & 50–950 ramp

primary
#7E1516
secondary
#3CB3B2
accent
#EEEC3A
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7E1516

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

Preview Lab → · Contrast checker → · Palette generator →

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