#7E1E2C#7E1E2C

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

Color values

HEX#7E1E2C
RGBrgb(126, 30, 44)
HSLhsl(351, 62%, 31%)
HSVhsv(351, 76%, 49%)
CMYKcmyk(0%, 76.2%, 65.1%, 50.6%)
CIE-LABlab(28.24, 41.54, 16.20)
CIE-LCHlch(28.24, 44.59, 21.30°)
OKLaboklab(39.76% 0.1238 0.0391)
OKLCHoklch(39.76% 0.13 17.5)
XYZxyz(9.5241, 5.5474, 2.9516)
Luminance0.0555 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E2C #1E7E70
analogous
#7E1E5C #7E1E2C #7E401E
triadic
#7E1E2C #2C7E1E #1E2C7E
tetradic
#7E1E2C #5C7E1E #1E7E70 #401E7E
square
#7E1E2C #5C7E1E #1E7E70 #401E7E
split-complementary
#7E1E2C #1E7E40 #1E5C7E
monochromatic
#1B0609 #4D121B #7E1E2C #AF2A3D #D24459

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E1E2C#FFFFFF#000000##FFFFFF
##7E1E2C1.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)
#39362C
Deuteranopia (green-blind)
#514A29
Tritanopia (blue-blind)
#8B0024
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1e2c;
/* rgb */ color: rgb(126, 30, 44);
/* oklch */ color: oklch(39.8% 0.130 17.5);
Tailwind
colors: {
  custom: {
    50: '#aa6264',
    500: '#7e1e2c',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e2c;
$custom-light: #aa6264;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e2c",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 44
  },
  "hsl": {
    "h": 351.25,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39759,
    "c": 0.12986,
    "h": 17.5
  },
  "luminance": 0.05546
}

Semantic roles & 50–950 ramp

primary
#7E1E2C
secondary
#47B1A2
accent
#E5CD43
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7E1E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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