#7E1413#7E1413

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

Color values

HEX#7E1413
RGBrgb(126, 20, 19)
HSLhsl(1, 74%, 28%)
HSVhsv(1, 85%, 49%)
CMYKcmyk(0%, 84.1%, 84.9%, 50.6%)
CIE-LABlab(26.69, 43.66, 30.30)
CIE-LCHlch(26.69, 53.14, 34.76°)
OKLaboklab(38.49% 0.1248 0.0645)
OKLCHoklch(38.49% 0.141 27.3)
XYZxyz(8.9730, 4.9844, 1.1056)
Luminance0.0498 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1413 #137D7E
analogous
#7E1347 #7E1413 #7E4913
triadic
#7E1413 #137E14 #14137E
tetradic
#7E1413 #477E13 #137D7E #49137E
square
#7E1413 #477E13 #137D7E #49137E
split-complementary
#7E1413 #137E49 #13477E
monochromatic
#1B0404 #490C0B #7E1413 #B31C1B #DF2E2C

Accessibility & contrast

On white

10.52
#7E1413 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1413
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1413#FFFFFF#000000##FFFFFF
##7E14131.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373011
Deuteranopia (green-blind)
#50470D
Tritanopia (blue-blind)
#8C0016
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e1413;
/* rgb */ color: rgb(126, 20, 19);
/* oklch */ color: oklch(38.5% 0.141 27.3);
Tailwind
colors: {
  custom: {
    50: '#ac5e51',
    500: '#7e1413',
    950: '#000000',
  },
}
SCSS
$custom: #7e1413;
$custom-light: #ac5e51;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1413",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 19
  },
  "hsl": {
    "h": 0.561,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38489,
    "c": 0.14052,
    "h": 27.3
  },
  "luminance": 0.04983
}

Semantic roles & 50–950 ramp

primary
#7E1413
secondary
#39B2B4
accent
#EFF037
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7E1413

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

Preview Lab → · Contrast checker → · Palette generator →

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