#7E131A#7E131A

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

Color values

HEX#7E131A
RGBrgb(126, 19, 26)
HSLhsl(356, 74%, 28%)
HSVhsv(356, 85%, 49%)
CMYKcmyk(0%, 84.9%, 79.4%, 50.6%)
CIE-LABlab(26.67, 44.18, 26.03)
CIE-LCHlch(26.67, 51.28, 30.50°)
OKLaboklab(38.5% 0.1281 0.0576)
OKLCHoklch(38.5% 0.14 24.2)
XYZxyz(9.0246, 4.9774, 1.4626)
Luminance0.0498 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E131A #137E77
analogous
#7E134F #7E131A #7E4113
triadic
#7E131A #1A7E13 #131A7E
tetradic
#7E131A #4F7E13 #137E77 #41137E
square
#7E131A #4F7E13 #137E77 #41137E
split-complementary
#7E131A #137E41 #134F7E
monochromatic
#1B0405 #490B0F #7E131A #B31B25 #DF2C38

Accessibility & contrast

On white

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

On black

2.00
#7E131A on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7E131A#FFFFFF#000000##FFFFFF
##7E131A1.0010.532.0010.53
#FFFFFF10.531.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e131a;
/* rgb */ color: rgb(126, 19, 26);
/* oklch */ color: oklch(38.5% 0.140 24.2);
Tailwind
colors: {
  custom: {
    50: '#ac5e56',
    500: '#7e131a',
    950: '#000000',
  },
}
SCSS
$custom: #7e131a;
$custom-light: #ac5e56;
$custom-dark: #000000;
JSON
{
  "hex": "#7e131a",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 26
  },
  "hsl": {
    "h": 356.075,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38499,
    "c": 0.14043,
    "h": 24.2
  },
  "luminance": 0.04976
}

Semantic roles & 50–950 ramp

primary
#7E131A
secondary
#39B4AC
accent
#F0E437
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978

Preview Lab

Preview with #7E131A

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

Preview Lab → · Contrast checker → · Palette generator →

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