#7E1D1E#7E1D1E

#7E1D1E is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.4% C 0.132 H 25.2°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#7E1D1E
RGBrgb(126, 29, 30)
HSLhsl(359, 63%, 30%)
HSVhsv(359, 77%, 49%)
CMYKcmyk(0%, 77%, 76.2%, 50.6%)
CIE-LABlab(27.87, 41.13, 24.85)
CIE-LCHlch(27.87, 48.05, 31.14°)
OKLaboklab(39.41% 0.1193 0.0561)
OKLCHoklch(39.41% 0.132 25.2)
XYZxyz(9.2790, 5.4095, 1.7836)
Luminance0.0541 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D1E #1D7E7D
analogous
#7E1D4F #7E1D1E #7E4C1D
triadic
#7E1D1E #1E7E1D #1D1E7E
tetradic
#7E1D1E #4F7E1D #1D7E7D #4C1D7E
square
#7E1D1E #4F7E1D #1D7E7D #4C1D7E
split-complementary
#7E1D1E #1D7E4C #1D4F7E
monochromatic
#1B0606 #4C1212 #7E1D1E #B0282A #D34243

Accessibility & contrast

On white

10.09
#7E1D1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7E1D1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1D1E
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D1E#FFFFFF#000000##FFFFFF
##7E1D1E1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A341D
Deuteranopia (green-blind)
#52491A
Tritanopia (blue-blind)
#8B001F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1d1e;
/* rgb */ color: rgb(126, 29, 30);
/* oklch */ color: oklch(39.4% 0.132 25.2);
Tailwind
colors: {
  custom: {
    50: '#ab615a',
    500: '#7e1d1e',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d1e;
$custom-light: #ab615a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d1e",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 30
  },
  "hsl": {
    "h": 359.381,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39408,
    "c": 0.13187,
    "h": 25.2
  },
  "luminance": 0.05408
}

Semantic roles & 50–950 ramp

primary
#7E1D1E
secondary
#45B1B0
accent
#E6E442
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110503
muted
#807A78

Preview Lab

Preview with #7E1D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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