#7E1019#7E1019

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

Color values

HEX#7E1019
RGBrgb(126, 16, 25)
HSLhsl(355, 77%, 28%)
HSVhsv(355, 87%, 49%)
CMYKcmyk(0%, 87.3%, 80.2%, 50.6%)
CIE-LABlab(26.38, 44.92, 26.35)
CIE-LCHlch(26.38, 52.08, 30.39°)
OKLaboklab(38.28% 0.1302 0.058)
OKLCHoklch(38.28% 0.143 24)
XYZxyz(8.9660, 4.8779, 1.3889)
Luminance0.0488 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1019 #107E75
analogous
#7E1050 #7E1019 #7E3E10
triadic
#7E1019 #197E10 #10197E
tetradic
#7E1019 #507E10 #107E75 #3E107E
square
#7E1019 #507E10 #107E75 #3E107E
split-complementary
#7E1019 #107E3E #10507E
monochromatic
#1B0305 #48090E #7E1019 #B41724 #E32535

Accessibility & contrast

On white

10.63
#7E1019 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1019
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1019#FFFFFF#000000##FFFFFF
##7E10191.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352F18
Deuteranopia (green-blind)
#4F4714
Tritanopia (blue-blind)
#8B0015
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #7e1019;
/* rgb */ color: rgb(126, 16, 25);
/* oklch */ color: oklch(38.3% 0.143 24.0);
Tailwind
colors: {
  custom: {
    50: '#ac5d56',
    500: '#7e1019',
    950: '#000000',
  },
}
SCSS
$custom: #7e1019;
$custom-light: #ac5d56;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1019",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 25
  },
  "hsl": {
    "h": 355.091,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38283,
    "c": 0.14253,
    "h": 24
  },
  "luminance": 0.04876
}

Semantic roles & 50–950 ramp

primary
#7E1019
secondary
#36B4AA
accent
#F4E434
background
#FBF5F5
surface
#F6E9E9
border
#D0C5C5
text
#120503
muted
#817978

Preview Lab

Preview with #7E1019

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

Preview Lab → · Contrast checker → · Palette generator →

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