#7E1A29#7E1A29

#7E1A29 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.3% C 0.134 H 18.1°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#7E1A29
RGBrgb(126, 26, 41)
HSLhsl(351, 66%, 30%)
HSVhsv(351, 79%, 49%)
CMYKcmyk(0%, 79.4%, 67.5%, 50.6%)
CIE-LABlab(27.67, 42.78, 17.45)
CIE-LCHlch(27.67, 46.20, 22.20°)
OKLaboklab(39.32% 0.1272 0.0416)
OKLCHoklch(39.32% 0.134 18.1)
XYZxyz(9.3748, 5.3359, 2.6337)
Luminance0.0534 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A29 #1A7E6F
analogous
#7E1A5B #7E1A29 #7E3D1A
triadic
#7E1A29 #297E1A #1A297E
tetradic
#7E1A29 #5B7E1A #1A7E6F #3D1A7E
square
#7E1A29 #5B7E1A #1A7E6F #3D1A7E
split-complementary
#7E1A29 #1A7E3D #1A5B7E
monochromatic
#190508 #4B1018 #7E1A29 #B1243A #D73C53

Accessibility & contrast

On white

10.16
#7E1A29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7E1A29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1A29
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A29#FFFFFF#000000##FFFFFF
##7E1A291.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373429
Deuteranopia (green-blind)
#504926
Tritanopia (blue-blind)
#8B0021
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1a29;
/* rgb */ color: rgb(126, 26, 41);
/* oklch */ color: oklch(39.3% 0.134 18.1);
Tailwind
colors: {
  custom: {
    50: '#aa6062',
    500: '#7e1a29',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a29;
$custom-light: #aa6062;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a29",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 41
  },
  "hsl": {
    "h": 351,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39318,
    "c": 0.13379,
    "h": 18.1
  },
  "luminance": 0.05335
}

Semantic roles & 50–950 ramp

primary
#7E1A29
secondary
#42B2A1
accent
#E9CF3F
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110505
muted
#807A79

Preview Lab

Preview with #7E1A29

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

Preview Lab → · Contrast checker → · Palette generator →

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