#7E1B2B#7E1B2B

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

Color values

HEX#7E1B2B
RGBrgb(126, 27, 43)
HSLhsl(350, 65%, 30%)
HSVhsv(350, 79%, 49%)
CMYKcmyk(0%, 78.6%, 65.9%, 50.6%)
CIE-LABlab(27.83, 42.56, 16.33)
CIE-LCHlch(27.83, 45.59, 20.99°)
OKLaboklab(39.45% 0.1269 0.0393)
OKLCHoklch(39.45% 0.133 17.2)
XYZxyz(9.4332, 5.3953, 2.8297)
Luminance0.0539 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1B2B #1B7E6E
analogous
#7E1B5D #7E1B2B #7E3C1B
triadic
#7E1B2B #2B7E1B #1B2B7E
tetradic
#7E1B2B #5D7E1B #1B7E6E #3C1B7E
square
#7E1B2B #5D7E1B #1B7E6E #3C1B7E
split-complementary
#7E1B2B #1B7E3C #1B5D7E
monochromatic
#190509 #4C101A #7E1B2B #B0263C #D63E56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E1B2B#FFFFFF#000000##FFFFFF
##7E1B2B1.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)
#37342B
Deuteranopia (green-blind)
#504928
Tritanopia (blue-blind)
#8B0022
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1b2b;
/* rgb */ color: rgb(126, 27, 43);
/* oklch */ color: oklch(39.5% 0.133 17.2);
Tailwind
colors: {
  custom: {
    50: '#aa6164',
    500: '#7e1b2b',
    950: '#000000',
  },
}
SCSS
$custom: #7e1b2b;
$custom-light: #aa6164;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1b2b",
  "rgb": {
    "r": 126,
    "g": 27,
    "b": 43
  },
  "hsl": {
    "h": 350.303,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.3945,
    "c": 0.13283,
    "h": 17.2
  },
  "luminance": 0.05394
}

Semantic roles & 50–950 ramp

primary
#7E1B2B
secondary
#43B2A0
accent
#E8CD40
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110505
muted
#807A79

Preview Lab

Preview with #7E1B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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