#7E1729#7E1729

#7E1729 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.1% C 0.136 H 17.3°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#7E1729
RGBrgb(126, 23, 41)
HSLhsl(350, 69%, 29%)
HSVhsv(350, 82%, 49%)
CMYKcmyk(0%, 81.7%, 67.5%, 50.6%)
CIE-LABlab(27.32, 43.75, 17.01)
CIE-LCHlch(27.32, 46.95, 21.25°)
OKLaboklab(39.06% 0.1303 0.0406)
OKLCHoklch(39.06% 0.136 17.3)
XYZxyz(9.3118, 5.2099, 2.6127)
Luminance0.0521 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1729 #177E6C
analogous
#7E175D #7E1729 #7E3917
triadic
#7E1729 #297E17 #17297E
tetradic
#7E1729 #5D7E17 #177E6C #39177E
square
#7E1729 #5D7E17 #177E6C #39177E
split-complementary
#7E1729 #177E39 #175D7E
monochromatic
#1A0508 #4A0E18 #7E1729 #B2203A #DA3552

Accessibility & contrast

On white

10.29
#7E1729 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7E1729 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1729
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1729#FFFFFF#000000##FFFFFF
##7E17291.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363329
Deuteranopia (green-blind)
#4F4826
Tritanopia (blue-blind)
#8B001F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1729;
/* rgb */ color: rgb(126, 23, 41);
/* oklch */ color: oklch(39.1% 0.136 17.3);
Tailwind
colors: {
  custom: {
    50: '#aa5f62',
    500: '#7e1729',
    950: '#000000',
  },
}
SCSS
$custom: #7e1729;
$custom-light: #aa5f62;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1729",
  "rgb": {
    "r": 126,
    "g": 23,
    "b": 41
  },
  "hsl": {
    "h": 349.515,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39061,
    "c": 0.13646,
    "h": 17.3
  },
  "luminance": 0.05209
}

Semantic roles & 50–950 ramp

primary
#7E1729
secondary
#3EB39E
accent
#ECCD3C
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979

Preview Lab

Preview with #7E1729

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

Preview Lab → · Contrast checker → · Palette generator →

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