#7E1E2B#7E1E2B

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

Color values

HEX#7E1E2B
RGBrgb(126, 30, 43)
HSLhsl(352, 62%, 31%)
HSVhsv(352, 76%, 49%)
CMYKcmyk(0%, 76.2%, 65.9%, 50.6%)
CIE-LABlab(28.22, 41.48, 16.83)
CIE-LCHlch(28.22, 44.76, 22.09°)
OKLaboklab(39.74% 0.1234 0.0404)
OKLCHoklch(39.74% 0.13 18.1)
XYZxyz(9.5055, 5.5400, 2.8538)
Luminance0.0554 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E2B #1E7E71
analogous
#7E1E5B #7E1E2B #7E411E
triadic
#7E1E2B #2B7E1E #1E2B7E
tetradic
#7E1E2B #5B7E1E #1E7E71 #411E7E
square
#7E1E2B #5B7E1E #1E7E71 #411E7E
split-complementary
#7E1E2B #1E7E41 #1E5B7E
monochromatic
#1B0609 #4D121A #7E1E2B #AF2A3C #D24457

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E1E2B#FFFFFF#000000##FFFFFF
##7E1E2B1.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)
#39362B
Deuteranopia (green-blind)
#514A28
Tritanopia (blue-blind)
#8B0024
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1e2b;
/* rgb */ color: rgb(126, 30, 43);
/* oklch */ color: oklch(39.7% 0.130 18.1);
Tailwind
colors: {
  custom: {
    50: '#aa6264',
    500: '#7e1e2b',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e2b;
$custom-light: #aa6264;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e2b",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 43
  },
  "hsl": {
    "h": 351.875,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39738,
    "c": 0.12987,
    "h": 18.1
  },
  "luminance": 0.05539
}

Semantic roles & 50–950 ramp

primary
#7E1E2B
secondary
#47B1A3
accent
#E5CF43
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7E1E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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