#7E1E16#7E1E16

#7E1E16 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.4% C 0.132 H 29.2°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#7E1E16
RGBrgb(126, 30, 22)
HSLhsl(5, 70%, 29%)
HSVhsv(5, 83%, 49%)
CMYKcmyk(0%, 76.2%, 82.5%, 50.6%)
CIE-LABlab(27.91, 40.43, 29.75)
CIE-LCHlch(27.91, 50.20, 36.35°)
OKLaboklab(39.41% 0.1154 0.0644)
OKLCHoklch(39.41% 0.132 29.2)
XYZxyz(9.2144, 5.4235, 1.3206)
Luminance0.0542 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E16 #16767E
analogous
#7E1642 #7E1E16 #7E5216
triadic
#7E1E16 #167E1E #1E167E
tetradic
#7E1E16 #427E16 #16767E #52167E
square
#7E1E16 #427E16 #16767E #52167E
split-complementary
#7E1E16 #167E52 #16427E
monochromatic
#1A0605 #4A120D #7E1E16 #B22A1F #DB4033

Accessibility & contrast

On white

10.07
#7E1E16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7E1E16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E16
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E16#FFFFFF#000000##FFFFFF
##7E1E161.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3414
Deuteranopia (green-blind)
#534912
Tritanopia (blue-blind)
#8B001D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1e16;
/* rgb */ color: rgb(126, 30, 22);
/* oklch */ color: oklch(39.4% 0.132 29.2);
Tailwind
colors: {
  custom: {
    50: '#ab6254',
    500: '#7e1e16',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e16;
$custom-light: #ab6254;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e16",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 22
  },
  "hsl": {
    "h": 4.615,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39406,
    "c": 0.13213,
    "h": 29.2
  },
  "luminance": 0.05422
}

Semantic roles & 50–950 ramp

primary
#7E1E16
secondary
#3DAAB3
accent
#DFED3B
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120502
muted
#817A78

Preview Lab

Preview with #7E1E16

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

Preview Lab → · Contrast checker → · Palette generator →

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