#7E1319#7E1319

#7E1319 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.5% C 0.141 H 24.7°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#7E1319
RGBrgb(126, 19, 25)
HSLhsl(357, 74%, 28%)
HSVhsv(357, 85%, 49%)
CMYKcmyk(0%, 84.9%, 80.2%, 50.6%)
CIE-LABlab(26.66, 44.14, 26.64)
CIE-LCHlch(26.66, 51.56, 31.11°)
OKLaboklab(38.49% 0.1277 0.0587)
OKLCHoklch(38.49% 0.141 24.7)
XYZxyz(9.0136, 4.9730, 1.4048)
Luminance0.0497 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1319 #137E78
analogous
#7E134E #7E1319 #7E4313
triadic
#7E1319 #197E13 #13197E
tetradic
#7E1319 #4E7E13 #137E78 #43137E
square
#7E1319 #4E7E13 #137E78 #43137E
split-complementary
#7E1319 #137E43 #134E7E
monochromatic
#1B0405 #490B0E #7E1319 #B31B24 #DF2C36

Accessibility & contrast

On white

10.53
#7E1319 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#7E1319 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1319
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1319#FFFFFF#000000##FFFFFF
##7E13191.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1319;
/* rgb */ color: rgb(126, 19, 25);
/* oklch */ color: oklch(38.5% 0.141 24.7);
Tailwind
colors: {
  custom: {
    50: '#ac5e56',
    500: '#7e1319',
    950: '#000000',
  },
}
SCSS
$custom: #7e1319;
$custom-light: #ac5e56;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1319",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 25
  },
  "hsl": {
    "h": 356.636,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38486,
    "c": 0.14054,
    "h": 24.7
  },
  "luminance": 0.04972
}

Semantic roles & 50–950 ramp

primary
#7E1319
secondary
#39B4AD
accent
#F0E637
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978

Preview Lab

Preview with #7E1319

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

Preview Lab → · Contrast checker → · Palette generator →

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