#7E141F#7E141F

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

Color values

HEX#7E141F
RGBrgb(126, 20, 31)
HSLhsl(354, 73%, 29%)
HSVhsv(354, 84%, 49%)
CMYKcmyk(0%, 84.1%, 75.4%, 50.6%)
CIE-LABlab(26.84, 44.11, 23.01)
CIE-LCHlch(26.84, 49.76, 27.55°)
OKLaboklab(38.65% 0.1291 0.0523)
OKLCHoklch(38.65% 0.139 22.1)
XYZxyz(9.1027, 5.0363, 1.7889)
Luminance0.0503 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E141F #147E73
analogous
#7E1454 #7E141F #7E3E14
triadic
#7E141F #1F7E14 #141F7E
tetradic
#7E141F #547E14 #147E73 #3E147E
square
#7E141F #547E14 #147E73 #3E147E
split-complementary
#7E141F #147E3E #14547E
monochromatic
#1A0406 #490C12 #7E141F #B31C2C #DE2E41

Accessibility & contrast

On white

10.46
#7E141F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7E141F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E141F
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E141F#FFFFFF#000000##FFFFFF
##7E141F1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36311E
Deuteranopia (green-blind)
#50471B
Tritanopia (blue-blind)
#8B0019
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e141f;
/* rgb */ color: rgb(126, 20, 31);
/* oklch */ color: oklch(38.6% 0.139 22.1);
Tailwind
colors: {
  custom: {
    50: '#ab5e5a',
    500: '#7e141f',
    950: '#000000',
  },
}
SCSS
$custom: #7e141f;
$custom-light: #ab5e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e141f",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 31
  },
  "hsl": {
    "h": 353.774,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38646,
    "c": 0.13927,
    "h": 22.1
  },
  "luminance": 0.05035
}

Semantic roles & 50–950 ramp

primary
#7E141F
secondary
#3AB3A7
accent
#EFDC38
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7E141F

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

Preview Lab → · Contrast checker → · Palette generator →

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