#7E1414#7E1414

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

Color values

HEX#7E1414
RGBrgb(126, 20, 20)
HSLhsl(0, 73%, 29%)
HSVhsv(0, 84%, 49%)
CMYKcmyk(0%, 84.1%, 84.1%, 50.6%)
CIE-LABlab(26.70, 43.69, 29.72)
CIE-LCHlch(26.70, 52.84, 34.23°)
OKLaboklab(38.5% 0.1252 0.0636)
OKLCHoklch(38.5% 0.14 26.9)
XYZxyz(8.9817, 4.9879, 1.1515)
Luminance0.0499 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1414 #147E7E
analogous
#7E1449 #7E1414 #7E4914
triadic
#7E1414 #147E14 #14147E
tetradic
#7E1414 #497E14 #147E7E #49147E
square
#7E1414 #497E14 #147E7E #49147E
split-complementary
#7E1414 #147E49 #14497E
monochromatic
#1A0404 #490C0C #7E1414 #B31C1C #DE2E2E

Accessibility & contrast

On white

10.51
#7E1414 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1414
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1414#FFFFFF#000000##FFFFFF
##7E14141.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373012
Deuteranopia (green-blind)
#50470F
Tritanopia (blue-blind)
#8B0016
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e1414;
/* rgb */ color: rgb(126, 20, 20);
/* oklch */ color: oklch(38.5% 0.140 26.9);
Tailwind
colors: {
  custom: {
    50: '#ac5e52',
    500: '#7e1414',
    950: '#000000',
  },
}
SCSS
$custom: #7e1414;
$custom-light: #ac5e52;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1414",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 20
  },
  "hsl": {
    "h": 0,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.385,
    "c": 0.14041,
    "h": 26.9
  },
  "luminance": 0.04986
}

Semantic roles & 50–950 ramp

primary
#7E1414
secondary
#3AB3B3
accent
#EFEF38
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7E1414

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

Preview Lab → · Contrast checker → · Palette generator →

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