#7E1E2D#7E1E2D

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

Color values

HEX#7E1E2D
RGBrgb(126, 30, 45)
HSLhsl(351, 62%, 31%)
HSVhsv(351, 76%, 49%)
CMYKcmyk(0%, 76.2%, 64.3%, 50.6%)
CIE-LABlab(28.26, 41.61, 15.56)
CIE-LCHlch(28.26, 44.43, 20.50°)
OKLaboklab(39.78% 0.1243 0.0377)
OKLCHoklch(39.78% 0.13 16.9)
XYZxyz(9.5431, 5.5550, 3.0518)
Luminance0.0555 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E2D #1E7E6F
analogous
#7E1E5D #7E1E2D #7E3F1E
triadic
#7E1E2D #2D7E1E #1E2D7E
tetradic
#7E1E2D #5D7E1E #1E7E6F #3F1E7E
square
#7E1E2D #5D7E1E #1E7E6F #3F1E7E
split-complementary
#7E1E2D #1E7E3F #1E5D7E
monochromatic
#1B060A #4D121B #7E1E2D #AF2A3F #D2445A

Accessibility & contrast

On white

9.95
#7E1E2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1E2D
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E2D#FFFFFF#000000##FFFFFF
##7E1E2D1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38362D
Deuteranopia (green-blind)
#514A2A
Tritanopia (blue-blind)
#8B0024
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1e2d;
/* rgb */ color: rgb(126, 30, 45);
/* oklch */ color: oklch(39.8% 0.130 16.9);
Tailwind
colors: {
  custom: {
    50: '#aa6265',
    500: '#7e1e2d',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e2d;
$custom-light: #aa6265;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e2d",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 45
  },
  "hsl": {
    "h": 350.625,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39781,
    "c": 0.12986,
    "h": 16.9
  },
  "luminance": 0.05554
}

Semantic roles & 50–950 ramp

primary
#7E1E2D
secondary
#47B1A1
accent
#E5CB43
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7E1E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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