#7E1D2C#7E1D2C

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

Color values

HEX#7E1D2C
RGBrgb(126, 29, 44)
HSLhsl(351, 63%, 30%)
HSVhsv(351, 77%, 49%)
CMYKcmyk(0%, 77%, 65.1%, 50.6%)
CIE-LABlab(28.11, 41.91, 16.02)
CIE-LCHlch(28.11, 44.87, 20.92°)
OKLaboklab(39.66% 0.125 0.0387)
OKLCHoklch(39.66% 0.131 17.2)
XYZxyz(9.4992, 5.4976, 2.9433)
Luminance0.0550 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D2C #1D7E6F
analogous
#7E1D5C #7E1D2C #7E3F1D
triadic
#7E1D2C #2C7E1D #1D2C7E
tetradic
#7E1D2C #5C7E1D #1D7E6F #3F1D7E
square
#7E1D2C #5C7E1D #1D7E6F #3F1D7E
split-complementary
#7E1D2C #1D7E3F #1D5C7E
monochromatic
#1B0609 #4C121B #7E1D2C #B0283D #D34258

Accessibility & contrast

On white

10.00
#7E1D2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1D2C
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D2C#FFFFFF#000000##FFFFFF
##7E1D2C1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1d2c;
/* rgb */ color: rgb(126, 29, 44);
/* oklch */ color: oklch(39.7% 0.131 17.2);
Tailwind
colors: {
  custom: {
    50: '#aa6264',
    500: '#7e1d2c',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d2c;
$custom-light: #aa6264;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d2c",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 44
  },
  "hsl": {
    "h": 350.722,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39661,
    "c": 0.13088,
    "h": 17.2
  },
  "luminance": 0.05496
}

Semantic roles & 50–950 ramp

primary
#7E1D2C
secondary
#45B1A1
accent
#E6CC42
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110505
muted
#807A7A

Preview Lab

Preview with #7E1D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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