#7E141C#7E141C

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

Color values

HEX#7E141C
RGBrgb(126, 20, 28)
HSLhsl(355, 73%, 29%)
HSVhsv(355, 84%, 49%)
CMYKcmyk(0%, 84.1%, 77.8%, 50.6%)
CIE-LABlab(26.80, 43.98, 24.90)
CIE-LCHlch(26.80, 50.54, 29.51°)
OKLaboklab(38.6% 0.1279 0.0557)
OKLCHoklch(38.6% 0.14 23.5)
XYZxyz(9.0650, 5.0212, 1.5903)
Luminance0.0502 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E141C #147E76
analogous
#7E1451 #7E141C #7E4114
triadic
#7E141C #1C7E14 #141C7E
tetradic
#7E141C #517E14 #147E76 #41147E
square
#7E141C #517E14 #147E76 #41147E
split-complementary
#7E141C #147E41 #14517E
monochromatic
#1A0406 #490C10 #7E141C #B31C28 #DE2E3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E141C#FFFFFF#000000##FFFFFF
##7E141C1.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)
#36311B
Deuteranopia (green-blind)
#504718
Tritanopia (blue-blind)
#8B0018
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e141c;
/* rgb */ color: rgb(126, 20, 28);
/* oklch */ color: oklch(38.6% 0.140 23.5);
Tailwind
colors: {
  custom: {
    50: '#ab5e58',
    500: '#7e141c',
    950: '#000000',
  },
}
SCSS
$custom: #7e141c;
$custom-light: #ab5e58;
$custom-dark: #000000;
JSON
{
  "hex": "#7e141c",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 28
  },
  "hsl": {
    "h": 355.472,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.386,
    "c": 0.13952,
    "h": 23.5
  },
  "luminance": 0.0502
}

Semantic roles & 50–950 ramp

primary
#7E141C
secondary
#3AB3AA
accent
#EFE238
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978

Preview Lab

Preview with #7E141C

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

Preview Lab → · Contrast checker → · Palette generator →

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