#7E1912#7E1912

#7E1912 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.137 H 29.1°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#7E1912
RGBrgb(126, 25, 18)
HSLhsl(4, 75%, 28%)
HSVhsv(4, 86%, 49%)
CMYKcmyk(0%, 80.2%, 85.7%, 50.6%)
CIE-LABlab(27.23, 42.08, 31.38)
CIE-LCHlch(27.23, 52.49, 36.71°)
OKLaboklab(38.89% 0.1197 0.0665)
OKLCHoklch(38.89% 0.137 29.1)
XYZxyz(9.0621, 5.1760, 1.0941)
Luminance0.0517 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1912 #12777E
analogous
#7E1241 #7E1912 #7E4F12
triadic
#7E1912 #127E19 #19127E
tetradic
#7E1912 #417E12 #12777E #4F127E
square
#7E1912 #417E12 #12777E #4F127E
split-complementary
#7E1912 #127E4F #12417E
monochromatic
#1B0504 #480E0A #7E1912 #B4241A #E1362A

Accessibility & contrast

On white

10.32
#7E1912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7E1912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1912
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1912#FFFFFF#000000##FFFFFF
##7E19121.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393210
Deuteranopia (green-blind)
#52480C
Tritanopia (blue-blind)
#8B0019
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1912;
/* rgb */ color: rgb(126, 25, 18);
/* oklch */ color: oklch(38.9% 0.137 29.1);
Tailwind
colors: {
  custom: {
    50: '#ac6051',
    500: '#7e1912',
    950: '#000000',
  },
}
SCSS
$custom: #7e1912;
$custom-light: #ac6051;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1912",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 18
  },
  "hsl": {
    "h": 3.889,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38888,
    "c": 0.13692,
    "h": 29.1
  },
  "luminance": 0.05175
}

Semantic roles & 50–950 ramp

primary
#7E1912
secondary
#38ACB4
accent
#E5F236
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7E1912

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

Preview Lab → · Contrast checker → · Palette generator →

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