#7E1A26#7E1A26

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

Color values

HEX#7E1A26
RGBrgb(126, 26, 38)
HSLhsl(353, 66%, 30%)
HSVhsv(353, 79%, 49%)
CMYKcmyk(0%, 79.4%, 69.8%, 50.6%)
CIE-LABlab(27.62, 42.60, 19.37)
CIE-LCHlch(27.62, 46.80, 24.45°)
OKLaboklab(39.26% 0.1259 0.0455)
OKLCHoklch(39.26% 0.134 19.9)
XYZxyz(9.3245, 5.3158, 2.3684)
Luminance0.0531 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A26 #1A7E72
analogous
#7E1A58 #7E1A26 #7E401A
triadic
#7E1A26 #267E1A #1A267E
tetradic
#7E1A26 #587E1A #1A7E72 #401A7E
square
#7E1A26 #587E1A #1A7E72 #401A7E
split-complementary
#7E1A26 #1A7E40 #1A587E
monochromatic
#190508 #4B1017 #7E1A26 #B12435 #D73C4E

Accessibility & contrast

On white

10.18
#7E1A26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1A26
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A26#FFFFFF#000000##FFFFFF
##7E1A261.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1a26;
/* rgb */ color: rgb(126, 26, 38);
/* oklch */ color: oklch(39.3% 0.134 19.9);
Tailwind
colors: {
  custom: {
    50: '#aa6060',
    500: '#7e1a26',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a26;
$custom-light: #aa6060;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a26",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 38
  },
  "hsl": {
    "h": 352.8,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39259,
    "c": 0.13388,
    "h": 19.9
  },
  "luminance": 0.05314
}

Semantic roles & 50–950 ramp

primary
#7E1A26
secondary
#42B2A5
accent
#E9D43F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7E1A26

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

Preview Lab → · Contrast checker → · Palette generator →

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