#7E1726#7E1726

#7E1726 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.137 H 19.1°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#7E1726
RGBrgb(126, 23, 38)
HSLhsl(351, 69%, 29%)
HSVhsv(351, 82%, 49%)
CMYKcmyk(0%, 81.7%, 69.8%, 50.6%)
CIE-LABlab(27.27, 43.58, 18.94)
CIE-LCHlch(27.27, 47.52, 23.49°)
OKLaboklab(39% 0.129 0.0446)
OKLCHoklch(39% 0.137 19.1)
XYZxyz(9.2615, 5.1898, 2.3474)
Luminance0.0519 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1726 #177E6F
analogous
#7E175A #7E1726 #7E3C17
triadic
#7E1726 #267E17 #17267E
tetradic
#7E1726 #5A7E17 #177E6F #3C177E
square
#7E1726 #5A7E17 #177E6F #3C177E
split-complementary
#7E1726 #177E3C #175A7E
monochromatic
#1A0508 #4A0E16 #7E1726 #B22036 #DA354D

Accessibility & contrast

On white

10.31
#7E1726 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1726
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1726#FFFFFF#000000##FFFFFF
##7E17261.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363326
Deuteranopia (green-blind)
#504823
Tritanopia (blue-blind)
#8B001E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1726;
/* rgb */ color: rgb(126, 23, 38);
/* oklch */ color: oklch(39.0% 0.137 19.1);
Tailwind
colors: {
  custom: {
    50: '#aa5f60',
    500: '#7e1726',
    950: '#000000',
  },
}
SCSS
$custom: #7e1726;
$custom-light: #aa5f60;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1726",
  "rgb": {
    "r": 126,
    "g": 23,
    "b": 38
  },
  "hsl": {
    "h": 351.262,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39002,
    "c": 0.13651,
    "h": 19.1
  },
  "luminance": 0.05188
}

Semantic roles & 50–950 ramp

primary
#7E1726
secondary
#3EB3A2
accent
#ECD23C
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7E1726

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

Preview Lab → · Contrast checker → · Palette generator →

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