#7E1429#7E1429

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

Color values

HEX#7E1429
RGBrgb(126, 20, 41)
HSLhsl(348, 73%, 29%)
HSVhsv(348, 84%, 49%)
CMYKcmyk(0%, 84.1%, 67.5%, 50.6%)
CIE-LABlab(27.01, 44.64, 16.61)
CIE-LCHlch(27.01, 47.63, 20.41°)
OKLaboklab(38.83% 0.1331 0.0397)
OKLCHoklch(38.83% 0.139 16.6)
XYZxyz(9.2556, 5.0975, 2.5939)
Luminance0.0510 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1429 #147E69
analogous
#7E145E #7E1429 #7E3414
triadic
#7E1429 #297E14 #14297E
tetradic
#7E1429 #5E7E14 #147E69 #34147E
square
#7E1429 #5E7E14 #147E69 #34147E
split-complementary
#7E1429 #147E34 #145E7E
monochromatic
#1A0409 #490C18 #7E1429 #B31C3A #DE2E51

Accessibility & contrast

On white

10.40
#7E1429 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1429
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1429#FFFFFF#000000##FFFFFF
##7E14291.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343229
Deuteranopia (green-blind)
#4F4826
Tritanopia (blue-blind)
#8B001D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1429;
/* rgb */ color: rgb(126, 20, 41);
/* oklch */ color: oklch(38.8% 0.139 16.6);
Tailwind
colors: {
  custom: {
    50: '#aa5e62',
    500: '#7e1429',
    950: '#000000',
  },
}
SCSS
$custom: #7e1429;
$custom-light: #aa5e62;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1429",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 41
  },
  "hsl": {
    "h": 348.113,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38829,
    "c": 0.13893,
    "h": 16.6
  },
  "luminance": 0.05096
}

Semantic roles & 50–950 ramp

primary
#7E1429
secondary
#3AB39B
accent
#EFCB38
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979

Preview Lab

Preview with #7E1429

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

Preview Lab → · Contrast checker → · Palette generator →

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