#7E1F16#7E1F16

#7E1F16 is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.5% C 0.131 H 29.6°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#7E1F16
RGBrgb(126, 31, 22)
HSLhsl(5, 70%, 29%)
HSVhsv(5, 83%, 49%)
CMYKcmyk(0%, 75.4%, 82.5%, 50.6%)
CIE-LABlab(28.05, 40.05, 29.89)
CIE-LCHlch(28.05, 49.97, 36.74°)
OKLaboklab(39.51% 0.1142 0.0648)
OKLCHoklch(39.51% 0.131 29.6)
XYZxyz(9.2401, 5.4750, 1.3291)
Luminance0.0547 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1F16 #16757E
analogous
#7E1641 #7E1F16 #7E5316
triadic
#7E1F16 #167E1F #1F167E
tetradic
#7E1F16 #417E16 #16757E #53167E
square
#7E1F16 #417E16 #16757E #53167E
split-complementary
#7E1F16 #167E53 #16417E
monochromatic
#1A0605 #4A120D #7E1F16 #B22C1F #DB4233

Accessibility & contrast

On white

10.02
#7E1F16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7E1F16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1F16
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1F16#FFFFFF#000000##FFFFFF
##7E1F161.0010.022.0910.02
#FFFFFF10.021.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3514
Deuteranopia (green-blind)
#534A12
Tritanopia (blue-blind)
#8B001E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1f16;
/* rgb */ color: rgb(126, 31, 22);
/* oklch */ color: oklch(39.5% 0.131 29.6);
Tailwind
colors: {
  custom: {
    50: '#ab6254',
    500: '#7e1f16',
    950: '#000000',
  },
}
SCSS
$custom: #7e1f16;
$custom-light: #ab6254;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1f16",
  "rgb": {
    "r": 126,
    "g": 31,
    "b": 22
  },
  "hsl": {
    "h": 5.192,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39509,
    "c": 0.13124,
    "h": 29.6
  },
  "luminance": 0.05474
}

Semantic roles & 50–950 ramp

primary
#7E1F16
secondary
#3DA9B3
accent
#DEED3B
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120503
muted
#817A78

Preview Lab

Preview with #7E1F16

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

Preview Lab → · Contrast checker → · Palette generator →

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