#7E1318#7E1318

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

Color values

HEX#7E1318
RGBrgb(126, 19, 24)
HSLhsl(357, 74%, 28%)
HSVhsv(357, 85%, 49%)
CMYKcmyk(0%, 84.9%, 81%, 50.6%)
CIE-LABlab(26.65, 44.10, 27.25)
CIE-LCHlch(26.65, 51.84, 31.71°)
OKLaboklab(38.47% 0.1274 0.0597)
OKLCHoklch(38.47% 0.141 25.1)
XYZxyz(9.0030, 4.9688, 1.3490)
Luminance0.0497 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1318 #137E79
analogous
#7E134D #7E1318 #7E4313
triadic
#7E1318 #187E13 #13187E
tetradic
#7E1318 #4D7E13 #137E79 #43137E
square
#7E1318 #4D7E13 #137E79 #43137E
split-complementary
#7E1318 #137E43 #134D7E
monochromatic
#1B0405 #490B0E #7E1318 #B31B22 #DF2C35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E1318#FFFFFF#000000##FFFFFF
##7E13181.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)
#363017
Deuteranopia (green-blind)
#504713
Tritanopia (blue-blind)
#8B0016
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e1318;
/* rgb */ color: rgb(126, 19, 24);
/* oklch */ color: oklch(38.5% 0.141 25.1);
Tailwind
colors: {
  custom: {
    50: '#ac5d55',
    500: '#7e1318',
    950: '#000000',
  },
}
SCSS
$custom: #7e1318;
$custom-light: #ac5d55;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1318",
  "rgb": {
    "r": 126,
    "g": 19,
    "b": 24
  },
  "hsl": {
    "h": 357.196,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38473,
    "c": 0.14065,
    "h": 25.1
  },
  "luminance": 0.04967
}

Semantic roles & 50–950 ramp

primary
#7E1318
secondary
#39B4AE
accent
#F0E837
background
#FBF5F4
surface
#F6EAE8
border
#D0C6C4
text
#120503
muted
#817978

Preview Lab

Preview with #7E1318

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

Preview Lab → · Contrast checker → · Palette generator →

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