#7E1612#7E1612

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

Color values

HEX#7E1612
RGBrgb(126, 22, 18)
HSLhsl(2, 75%, 28%)
HSVhsv(2, 86%, 49%)
CMYKcmyk(0%, 82.5%, 85.7%, 50.6%)
CIE-LABlab(26.89, 43.04, 31.06)
CIE-LCHlch(26.89, 53.08, 35.82°)
OKLaboklab(38.63% 0.1227 0.0658)
OKLCHoklch(38.63% 0.139 28.2)
XYZxyz(9.0014, 5.0546, 1.0738)
Luminance0.0505 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1612 #127A7E
analogous
#7E1244 #7E1612 #7E4C12
triadic
#7E1612 #127E16 #16127E
tetradic
#7E1612 #447E12 #127A7E #4C127E
square
#7E1612 #447E12 #127A7E #4C127E
split-complementary
#7E1612 #127E4C #12447E
monochromatic
#1B0504 #480D0A #7E1612 #B41F1A #E1312A

Accessibility & contrast

On white

10.44
#7E1612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1612
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1612#FFFFFF#000000##FFFFFF
##7E16121.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383110
Deuteranopia (green-blind)
#51480C
Tritanopia (blue-blind)
#8C0017
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1612;
/* rgb */ color: rgb(126, 22, 18);
/* oklch */ color: oklch(38.6% 0.139 28.2);
Tailwind
colors: {
  custom: {
    50: '#ac5e51',
    500: '#7e1612',
    950: '#000000',
  },
}
SCSS
$custom: #7e1612;
$custom-light: #ac5e51;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1612",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 18
  },
  "hsl": {
    "h": 2.222,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38634,
    "c": 0.13921,
    "h": 28.2
  },
  "luminance": 0.05053
}

Semantic roles & 50–950 ramp

primary
#7E1612
secondary
#38AFB4
accent
#EBF236
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7E1612

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

Preview Lab → · Contrast checker → · Palette generator →

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