#7E1519#7E1519

#7E1519 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.6% C 0.139 H 25.2°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#7E1519
RGBrgb(126, 21, 25)
HSLhsl(358, 71%, 29%)
HSVhsv(358, 83%, 49%)
CMYKcmyk(0%, 83.3%, 80.2%, 50.6%)
CIE-LABlab(26.86, 43.57, 26.86)
CIE-LCHlch(26.86, 51.18, 31.65°)
OKLaboklab(38.64% 0.1259 0.0591)
OKLCHoklch(38.64% 0.139 25.2)
XYZxyz(9.0489, 5.0436, 1.4166)
Luminance0.0504 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1519 #157E7A
analogous
#7E154E #7E1519 #7E4615
triadic
#7E1519 #197E15 #15197E
tetradic
#7E1519 #4E7E15 #157E7A #46157E
square
#7E1519 #4E7E15 #157E7A #46157E
split-complementary
#7E1519 #157E46 #154E7E
monochromatic
#1A0405 #4A0C0F #7E1519 #B21E23 #DD3137

Accessibility & contrast

On white

10.46
#7E1519 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7E1519 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1519
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1519#FFFFFF#000000##FFFFFF
##7E15191.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373118
Deuteranopia (green-blind)
#504815
Tritanopia (blue-blind)
#8B0018
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e1519;
/* rgb */ color: rgb(126, 21, 25);
/* oklch */ color: oklch(38.6% 0.139 25.2);
Tailwind
colors: {
  custom: {
    50: '#ac5e56',
    500: '#7e1519',
    950: '#000000',
  },
}
SCSS
$custom: #7e1519;
$custom-light: #ac5e56;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1519",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 25
  },
  "hsl": {
    "h": 357.714,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38635,
    "c": 0.1391,
    "h": 25.2
  },
  "luminance": 0.05042
}

Semantic roles & 50–950 ramp

primary
#7E1519
secondary
#3CB3AF
accent
#EEE73A
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978

Preview Lab

Preview with #7E1519

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

Preview Lab → · Contrast checker → · Palette generator →

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