#7E1D32#7E1D32

#7E1D32 is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.8% C 0.131 H 13.3°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#7E1D32
RGBrgb(126, 29, 50)
HSLhsl(347, 63%, 30%)
HSVhsv(347, 77%, 49%)
CMYKcmyk(0%, 77%, 60.3%, 50.6%)
CIE-LABlab(28.24, 42.34, 12.19)
CIE-LCHlch(28.24, 44.06, 16.07°)
OKLaboklab(39.8% 0.1276 0.0302)
OKLCHoklch(39.8% 0.131 13.3)
XYZxyz(9.6202, 5.5460, 3.5809)
Luminance0.0554 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D32 #1D7E69
analogous
#7E1D63 #7E1D32 #7E381D
triadic
#7E1D32 #327E1D #1D327E
tetradic
#7E1D32 #637E1D #1D7E69 #381D7E
square
#7E1D32 #637E1D #1D7E69 #381D7E
split-complementary
#7E1D32 #1D7E38 #1D637E
monochromatic
#1B060B #4C121E #7E1D32 #B02846 #D34261

Accessibility & contrast

On white

9.96
#7E1D32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7E1D32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1D32
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D32#FFFFFF#000000##FFFFFF
##7E1D321.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373632
Deuteranopia (green-blind)
#504A2F
Tritanopia (blue-blind)
#8A0026
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1d32;
/* rgb */ color: rgb(126, 29, 50);
/* oklch */ color: oklch(39.8% 0.131 13.3);
Tailwind
colors: {
  custom: {
    50: '#a96269',
    500: '#7e1d32',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d32;
$custom-light: #a96269;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d32",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 50
  },
  "hsl": {
    "h": 347.01,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39798,
    "c": 0.1311,
    "h": 13.3
  },
  "luminance": 0.05545
}

Semantic roles & 50–950 ramp

primary
#7E1D32
secondary
#45B19A
accent
#E6C242
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7E1D32

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

Preview Lab → · Contrast checker → · Palette generator →

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