#7E1119#7E1119

#7E1119 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.3% C 0.142 H 24.2°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#7E1119
RGBrgb(126, 17, 25)
HSLhsl(356, 76%, 28%)
HSVhsv(356, 87%, 49%)
CMYKcmyk(0%, 86.5%, 80.2%, 50.6%)
CIE-LABlab(26.47, 44.67, 26.44)
CIE-LCHlch(26.47, 51.91, 30.62°)
OKLaboklab(38.35% 0.1294 0.0582)
OKLCHoklch(38.35% 0.142 24.2)
XYZxyz(8.9812, 4.9082, 1.3940)
Luminance0.0491 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1119 #117E76
analogous
#7E1150 #7E1119 #7E3F11
triadic
#7E1119 #197E11 #11197E
tetradic
#7E1119 #507E11 #117E76 #3F117E
square
#7E1119 #507E11 #117E76 #3F117E
split-complementary
#7E1119 #117E3F #11507E
monochromatic
#1B0405 #480A0E #7E1119 #B41824 #E22735

Accessibility & contrast

On white

10.60
#7E1119 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#7E1119 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1119
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1119#FFFFFF#000000##FFFFFF
##7E11191.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353018
Deuteranopia (green-blind)
#504714
Tritanopia (blue-blind)
#8B0016
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e1119;
/* rgb */ color: rgb(126, 17, 25);
/* oklch */ color: oklch(38.3% 0.142 24.2);
Tailwind
colors: {
  custom: {
    50: '#ac5d56',
    500: '#7e1119',
    950: '#000000',
  },
}
SCSS
$custom: #7e1119;
$custom-light: #ac5d56;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1119",
  "rgb": {
    "r": 126,
    "g": 17,
    "b": 25
  },
  "hsl": {
    "h": 355.596,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38348,
    "c": 0.14189,
    "h": 24.2
  },
  "luminance": 0.04907
}

Semantic roles & 50–950 ramp

primary
#7E1119
secondary
#37B4AB
accent
#F3E535
background
#FBF5F5
surface
#F6E9E9
border
#D0C5C5
text
#120503
muted
#817978

Preview Lab

Preview with #7E1119

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

Preview Lab → · Contrast checker → · Palette generator →

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