#7E1D24#7E1D24

#7E1D24 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.5% C 0.131 H 22.0°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#7E1D24
RGBrgb(126, 29, 36)
HSLhsl(356, 63%, 30%)
HSVhsv(356, 77%, 49%)
CMYKcmyk(0%, 77%, 71.4%, 50.6%)
CIE-LABlab(27.96, 41.43, 21.11)
CIE-LCHlch(27.96, 46.50, 27.00°)
OKLaboklab(39.51% 0.1217 0.0491)
OKLCHoklch(39.51% 0.131 22)
XYZxyz(9.3630, 5.4431, 2.2263)
Luminance0.0544 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D24 #1D7E77
analogous
#7E1D54 #7E1D24 #7E461D
triadic
#7E1D24 #247E1D #1D247E
tetradic
#7E1D24 #547E1D #1D7E77 #461D7E
square
#7E1D24 #547E1D #1D7E77 #461D7E
split-complementary
#7E1D24 #1D7E46 #1D547E
monochromatic
#1B0608 #4C1216 #7E1D24 #B02832 #D3424C

Accessibility & contrast

On white

10.06
#7E1D24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7E1D24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1D24
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D24#FFFFFF#000000##FFFFFF
##7E1D241.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393523
Deuteranopia (green-blind)
#514921
Tritanopia (blue-blind)
#8B0021
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1d24;
/* rgb */ color: rgb(126, 29, 36);
/* oklch */ color: oklch(39.5% 0.131 22.0);
Tailwind
colors: {
  custom: {
    50: '#aa625e',
    500: '#7e1d24',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d24;
$custom-light: #aa625e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d24",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 36
  },
  "hsl": {
    "h": 355.67,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39505,
    "c": 0.13123,
    "h": 22
  },
  "luminance": 0.05442
}

Semantic roles & 50–950 ramp

primary
#7E1D24
secondary
#45B1AA
accent
#E6DA42
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7E1D24

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

Preview Lab → · Contrast checker → · Palette generator →

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