#7E1D2A#7E1D2A

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

Color values

HEX#7E1D2A
RGBrgb(126, 29, 42)
HSLhsl(352, 63%, 30%)
HSVhsv(352, 77%, 49%)
CMYKcmyk(0%, 77%, 66.7%, 50.6%)
CIE-LABlab(28.07, 41.79, 17.30)
CIE-LCHlch(28.07, 45.22, 22.49°)
OKLaboklab(39.62% 0.1242 0.0414)
OKLCHoklch(39.62% 0.131 18.4)
XYZxyz(9.4625, 5.4829, 2.7501)
Luminance0.0548 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D2A #1D7E71
analogous
#7E1D5A #7E1D2A #7E401D
triadic
#7E1D2A #2A7E1D #1D2A7E
tetradic
#7E1D2A #5A7E1D #1D7E71 #401D7E
square
#7E1D2A #5A7E1D #1D7E71 #401D7E
split-complementary
#7E1D2A #1D7E40 #1D5A7E
monochromatic
#1B0609 #4C1219 #7E1D2A #B0283B #D34255

Accessibility & contrast

On white

10.02
#7E1D2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7E1D2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1D2A
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D2A#FFFFFF#000000##FFFFFF
##7E1D2A1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1d2a;
/* rgb */ color: rgb(126, 29, 42);
/* oklch */ color: oklch(39.6% 0.131 18.4);
Tailwind
colors: {
  custom: {
    50: '#aa6263',
    500: '#7e1d2a',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d2a;
$custom-light: #aa6263;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d2a",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 42
  },
  "hsl": {
    "h": 351.959,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39619,
    "c": 0.1309,
    "h": 18.4
  },
  "luminance": 0.05482
}

Semantic roles & 50–950 ramp

primary
#7E1D2A
secondary
#45B1A3
accent
#E6D042
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110505
muted
#807A79

Preview Lab

Preview with #7E1D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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