#7E1B2C#7E1B2C

#7E1B2C is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.5% C 0.133 H 16.6°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#7E1B2C
RGBrgb(126, 27, 44)
HSLhsl(350, 65%, 30%)
HSVhsv(350, 79%, 49%)
CMYKcmyk(0%, 78.6%, 65.1%, 50.6%)
CIE-LABlab(27.85, 42.63, 15.69)
CIE-LCHlch(27.85, 45.42, 20.21°)
OKLaboklab(39.47% 0.1273 0.0379)
OKLCHoklch(39.47% 0.133 16.6)
XYZxyz(9.4517, 5.4027, 2.9275)
Luminance0.0540 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1B2C #1B7E6D
analogous
#7E1B5D #7E1B2C #7E3C1B
triadic
#7E1B2C #2C7E1B #1B2C7E
tetradic
#7E1B2C #5D7E1B #1B7E6D #3C1B7E
square
#7E1B2C #5D7E1B #1B7E6D #3C1B7E
split-complementary
#7E1B2C #1B7E3C #1B5D7E
monochromatic
#190509 #4C101A #7E1B2C #B0263E #D63E58

Accessibility & contrast

On white

10.10
#7E1B2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7E1B2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1B2C
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1B2C#FFFFFF#000000##FFFFFF
##7E1B2C1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37352C
Deuteranopia (green-blind)
#504929
Tritanopia (blue-blind)
#8B0022
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1b2c;
/* rgb */ color: rgb(126, 27, 44);
/* oklch */ color: oklch(39.5% 0.133 16.6);
Tailwind
colors: {
  custom: {
    50: '#aa6164',
    500: '#7e1b2c',
    950: '#000000',
  },
}
SCSS
$custom: #7e1b2c;
$custom-light: #aa6164;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1b2c",
  "rgb": {
    "r": 126,
    "g": 27,
    "b": 44
  },
  "hsl": {
    "h": 349.697,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.39471,
    "c": 0.13285,
    "h": 16.6
  },
  "luminance": 0.05401
}

Semantic roles & 50–950 ramp

primary
#7E1B2C
secondary
#43B29F
accent
#E8CB40
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110505
muted
#807A7A

Preview Lab

Preview with #7E1B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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