#7E1426#7E1426

#7E1426 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.139 H 18.3°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#7E1426
RGBrgb(126, 20, 38)
HSLhsl(350, 73%, 29%)
HSVhsv(350, 84%, 49%)
CMYKcmyk(0%, 84.1%, 69.8%, 50.6%)
CIE-LABlab(26.95, 44.47, 18.54)
CIE-LCHlch(26.95, 48.18, 22.64°)
OKLaboklab(38.77% 0.1319 0.0437)
OKLCHoklch(38.77% 0.139 18.3)
XYZxyz(9.2052, 5.0773, 2.3287)
Luminance0.0508 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1426 #147E6C
analogous
#7E145B #7E1426 #7E3714
triadic
#7E1426 #267E14 #14267E
tetradic
#7E1426 #5B7E14 #147E6C #37147E
square
#7E1426 #5B7E14 #147E6C #37147E
split-complementary
#7E1426 #147E37 #145B7E
monochromatic
#1A0408 #490C16 #7E1426 #B31C36 #DE2E4C

Accessibility & contrast

On white

10.42
#7E1426 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7E1426 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1426
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1426#FFFFFF#000000##FFFFFF
##7E14261.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353226
Deuteranopia (green-blind)
#4F4823
Tritanopia (blue-blind)
#8B001C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1426;
/* rgb */ color: rgb(126, 20, 38);
/* oklch */ color: oklch(38.8% 0.139 18.3);
Tailwind
colors: {
  custom: {
    50: '#ab5e60',
    500: '#7e1426',
    950: '#000000',
  },
}
SCSS
$custom: #7e1426;
$custom-light: #ab5e60;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1426",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 38
  },
  "hsl": {
    "h": 349.811,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38769,
    "c": 0.13893,
    "h": 18.3
  },
  "luminance": 0.05076
}

Semantic roles & 50–950 ramp

primary
#7E1426
secondary
#3AB39F
accent
#EFD038
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7E1426

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

Preview Lab → · Contrast checker → · Palette generator →

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