#7E1626#7E1626

#7E1626 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.9% C 0.137 H 18.8°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#7E1626
RGBrgb(126, 22, 38)
HSLhsl(351, 70%, 29%)
HSVhsv(351, 83%, 49%)
CMYKcmyk(0%, 82.5%, 69.8%, 50.6%)
CIE-LABlab(27.16, 43.89, 18.80)
CIE-LCHlch(27.16, 47.74, 23.19°)
OKLaboklab(38.92% 0.13 0.0443)
OKLCHoklch(38.92% 0.137 18.8)
XYZxyz(9.2420, 5.1508, 2.3409)
Luminance0.0515 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1626 #167E6E
analogous
#7E165A #7E1626 #7E3A16
triadic
#7E1626 #267E16 #16267E
tetradic
#7E1626 #5A7E16 #167E6E #3A167E
square
#7E1626 #5A7E16 #167E6E #3A167E
split-complementary
#7E1626 #167E3A #165A7E
monochromatic
#1A0508 #4A0D16 #7E1626 #B21F36 #DB334D

Accessibility & contrast

On white

10.35
#7E1626 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7E1626 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1626
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1626#FFFFFF#000000##FFFFFF
##7E16261.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1626;
/* rgb */ color: rgb(126, 22, 38);
/* oklch */ color: oklch(38.9% 0.137 18.8);
Tailwind
colors: {
  custom: {
    50: '#aa5f60',
    500: '#7e1626',
    950: '#000000',
  },
}
SCSS
$custom: #7e1626;
$custom-light: #aa5f60;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1626",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 38
  },
  "hsl": {
    "h": 350.769,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38921,
    "c": 0.13735,
    "h": 18.8
  },
  "luminance": 0.05149
}

Semantic roles & 50–950 ramp

primary
#7E1626
secondary
#3DB3A1
accent
#EDD23B
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7E1626

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

Preview Lab → · Contrast checker → · Palette generator →

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