#7E1A24#7E1A24

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

Color values

HEX#7E1A24
RGBrgb(126, 26, 36)
HSLhsl(354, 66%, 30%)
HSVhsv(354, 79%, 49%)
CMYKcmyk(0%, 79.4%, 71.4%, 50.6%)
CIE-LABlab(27.58, 42.49, 20.64)
CIE-LCHlch(27.58, 47.24, 25.91°)
OKLaboklab(39.22% 0.1251 0.0481)
OKLCHoklch(39.22% 0.134 21)
XYZxyz(9.2931, 5.3032, 2.2030)
Luminance0.0530 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A24 #1A7E74
analogous
#7E1A56 #7E1A24 #7E421A
triadic
#7E1A24 #247E1A #1A247E
tetradic
#7E1A24 #567E1A #1A7E74 #421A7E
square
#7E1A24 #567E1A #1A7E74 #421A7E
split-complementary
#7E1A24 #1A7E42 #1A567E
monochromatic
#190507 #4B1016 #7E1A24 #B12432 #D73C4B

Accessibility & contrast

On white

10.19
#7E1A24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7E1A24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1A24
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A24#FFFFFF#000000##FFFFFF
##7E1A241.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383424
Deuteranopia (green-blind)
#514921
Tritanopia (blue-blind)
#8B001F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1a24;
/* rgb */ color: rgb(126, 26, 36);
/* oklch */ color: oklch(39.2% 0.134 21.0);
Tailwind
colors: {
  custom: {
    50: '#aa605e',
    500: '#7e1a24',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a24;
$custom-light: #aa605e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a24",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 36
  },
  "hsl": {
    "h": 354,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39223,
    "c": 0.134,
    "h": 21
  },
  "luminance": 0.05302
}

Semantic roles & 50–950 ramp

primary
#7E1A24
secondary
#42B2A7
accent
#E9D83F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7E1A24

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

Preview Lab → · Contrast checker → · Palette generator →

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