#7E1E2A#7E1E2A

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

Color values

HEX#7E1E2A
RGBrgb(126, 30, 42)
HSLhsl(353, 62%, 31%)
HSVhsv(353, 76%, 49%)
CMYKcmyk(0%, 76.2%, 66.7%, 50.6%)
CIE-LABlab(28.20, 41.41, 17.47)
CIE-LCHlch(28.20, 44.95, 22.87°)
OKLaboklab(39.72% 0.123 0.0418)
OKLCHoklch(39.72% 0.13 18.8)
XYZxyz(9.4874, 5.5327, 2.7584)
Luminance0.0553 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E2A #1E7E72
analogous
#7E1E5A #7E1E2A #7E421E
triadic
#7E1E2A #2A7E1E #1E2A7E
tetradic
#7E1E2A #5A7E1E #1E7E72 #421E7E
square
#7E1E2A #5A7E1E #1E7E72 #421E7E
split-complementary
#7E1E2A #1E7E42 #1E5A7E
monochromatic
#1B0609 #4D121A #7E1E2A #AF2A3A #D24456

Accessibility & contrast

On white

9.97
#7E1E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1E2A
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E2A#FFFFFF#000000##FFFFFF
##7E1E2A1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39362A
Deuteranopia (green-blind)
#514A27
Tritanopia (blue-blind)
#8B0023
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1e2a;
/* rgb */ color: rgb(126, 30, 42);
/* oklch */ color: oklch(39.7% 0.130 18.8);
Tailwind
colors: {
  custom: {
    50: '#aa6263',
    500: '#7e1e2a',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e2a;
$custom-light: #aa6263;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e2a",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 42
  },
  "hsl": {
    "h": 352.5,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39718,
    "c": 0.1299,
    "h": 18.8
  },
  "luminance": 0.05531
}

Semantic roles & 50–950 ramp

primary
#7E1E2A
secondary
#47B1A4
accent
#E5D043
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7E1E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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