#7E1D2B#7E1D2B

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

Color values

HEX#7E1D2B
RGBrgb(126, 29, 43)
HSLhsl(351, 63%, 30%)
HSVhsv(351, 77%, 49%)
CMYKcmyk(0%, 77%, 65.9%, 50.6%)
CIE-LABlab(28.09, 41.85, 16.66)
CIE-LCHlch(28.09, 45.04, 21.71°)
OKLaboklab(39.64% 0.1246 0.04)
OKLCHoklch(39.64% 0.131 17.8)
XYZxyz(9.4806, 5.4902, 2.8455)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D2B #1D7E70
analogous
#7E1D5B #7E1D2B #7E3F1D
triadic
#7E1D2B #2B7E1D #1D2B7E
tetradic
#7E1D2B #5B7E1D #1D7E70 #3F1D7E
square
#7E1D2B #5B7E1D #1D7E70 #3F1D7E
split-complementary
#7E1D2B #1D7E3F #1D5B7E
monochromatic
#1B0609 #4C121A #7E1D2B #B0283C #D34257

Accessibility & contrast

On white

10.01
#7E1D2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1D2B
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D2B#FFFFFF#000000##FFFFFF
##7E1D2B1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1d2b;
/* rgb */ color: rgb(126, 29, 43);
/* oklch */ color: oklch(39.6% 0.131 17.8);
Tailwind
colors: {
  custom: {
    50: '#aa6264',
    500: '#7e1d2b',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d2b;
$custom-light: #aa6264;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d2b",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 43
  },
  "hsl": {
    "h": 351.34,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39639,
    "c": 0.13088,
    "h": 17.8
  },
  "luminance": 0.05489
}

Semantic roles & 50–950 ramp

primary
#7E1D2B
secondary
#45B1A2
accent
#E6CE42
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110505
muted
#807A79

Preview Lab

Preview with #7E1D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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