#7E1719#7E1719

#7E1719 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.138 H 25.7°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#7E1719
RGBrgb(126, 23, 25)
HSLhsl(359, 69%, 29%)
HSVhsv(359, 82%, 49%)
CMYKcmyk(0%, 81.7%, 80.2%, 50.6%)
CIE-LABlab(27.07, 42.96, 27.09)
CIE-LCHlch(27.07, 50.79, 32.23°)
OKLaboklab(38.8% 0.124 0.0596)
OKLCHoklch(38.8% 0.138 25.7)
XYZxyz(9.0871, 5.1201, 1.4293)
Luminance0.0512 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1719 #177E7C
analogous
#7E174D #7E1719 #7E4917
triadic
#7E1719 #197E17 #17197E
tetradic
#7E1719 #4D7E17 #177E7C #49177E
square
#7E1719 #4D7E17 #177E7C #49177E
split-complementary
#7E1719 #177E49 #174D7E
monochromatic
#1A0505 #4A0E0F #7E1719 #B22023 #DA3538

Accessibility & contrast

On white

10.38
#7E1719 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7E1719 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1719
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1719#FFFFFF#000000##FFFFFF
##7E17191.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373218
Deuteranopia (green-blind)
#514815
Tritanopia (blue-blind)
#8B0019
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1719;
/* rgb */ color: rgb(126, 23, 25);
/* oklch */ color: oklch(38.8% 0.138 25.7);
Tailwind
colors: {
  custom: {
    50: '#ab5f56',
    500: '#7e1719',
    950: '#000000',
  },
}
SCSS
$custom: #7e1719;
$custom-light: #ab5f56;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1719",
  "rgb": {
    "r": 126,
    "g": 23,
    "b": 25
  },
  "hsl": {
    "h": 358.835,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38795,
    "c": 0.13758,
    "h": 25.7
  },
  "luminance": 0.05119
}

Semantic roles & 50–950 ramp

primary
#7E1719
secondary
#3EB3B0
accent
#ECE93C
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978

Preview Lab

Preview with #7E1719

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

Preview Lab → · Contrast checker → · Palette generator →

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