#7E141B#7E141B

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

Color values

HEX#7E141B
RGBrgb(126, 20, 27)
HSLhsl(356, 73%, 29%)
HSVhsv(356, 84%, 49%)
CMYKcmyk(0%, 84.1%, 78.6%, 50.6%)
CIE-LABlab(26.78, 43.94, 25.52)
CIE-LCHlch(26.78, 50.81, 30.14°)
OKLaboklab(38.59% 0.1276 0.0568)
OKLCHoklch(38.59% 0.14 24)
XYZxyz(9.0533, 5.0165, 1.5283)
Luminance0.0502 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E141B #147E77
analogous
#7E1450 #7E141B #7E4214
triadic
#7E141B #1B7E14 #141B7E
tetradic
#7E141B #507E14 #147E77 #42147E
square
#7E141B #507E14 #147E77 #42147E
split-complementary
#7E141B #147E42 #14507E
monochromatic
#1A0406 #490C10 #7E141B #B31C26 #DE2E3A

Accessibility & contrast

On white

10.48
#7E141B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E141B
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E141B#FFFFFF#000000##FFFFFF
##7E141B1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36311A
Deuteranopia (green-blind)
#504717
Tritanopia (blue-blind)
#8B0018
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e141b;
/* rgb */ color: rgb(126, 20, 27);
/* oklch */ color: oklch(38.6% 0.140 24.0);
Tailwind
colors: {
  custom: {
    50: '#ab5e57',
    500: '#7e141b',
    950: '#000000',
  },
}
SCSS
$custom: #7e141b;
$custom-light: #ab5e57;
$custom-dark: #000000;
JSON
{
  "hex": "#7e141b",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 27
  },
  "hsl": {
    "h": 356.038,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38586,
    "c": 0.13962,
    "h": 24
  },
  "luminance": 0.05015
}

Semantic roles & 50–950 ramp

primary
#7E141B
secondary
#3AB3AB
accent
#EFE338
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978

Preview Lab

Preview with #7E141B

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

Preview Lab → · Contrast checker → · Palette generator →

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