#7C1B1A#7C1B1A

#7C1B1A is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.132 H 26.4°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#7C1B1A
RGBrgb(124, 27, 26)
HSLhsl(1, 65%, 29%)
HSVhsv(1, 79%, 49%)
CMYKcmyk(0%, 78.2%, 79%, 51.4%)
CIE-LABlab(27.14, 41.01, 26.42)
CIE-LCHlch(27.14, 48.79, 32.79°)
OKLaboklab(38.78% 0.1183 0.0586)
OKLCHoklch(38.78% 0.132 26.4)
XYZxyz(8.8916, 5.1449, 1.5020)
Luminance0.0514 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1B1A #1A7B7C
analogous
#7C1A4A #7C1B1A #7C4C1A
triadic
#7C1B1A #1A7C1B #1B1A7C
tetradic
#7C1B1A #4A7C1A #1A7B7C #4C1A7C
square
#7C1B1A #4A7C1A #1A7B7C #4C1A7C
split-complementary
#7C1B1A #1A7C4C #1A4A7C
monochromatic
#190605 #49100F #7C1B1A #AF2625 #D63C3B

Accessibility & contrast

On white

10.35
#7C1B1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7C1B1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1B1A
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1B1A#FFFFFF#000000##FFFFFF
##7C1B1A1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383319
Deuteranopia (green-blind)
#504816
Tritanopia (blue-blind)
#89001C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7c1b1a;
/* rgb */ color: rgb(124, 27, 26);
/* oklch */ color: oklch(38.8% 0.132 26.4);
Tailwind
colors: {
  custom: {
    50: '#aa6057',
    500: '#7c1b1a',
    950: '#000000',
  },
}
SCSS
$custom: #7c1b1a;
$custom-light: #aa6057;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1b1a",
  "rgb": {
    "r": 124,
    "g": 27,
    "b": 26
  },
  "hsl": {
    "h": 0.612,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38775,
    "c": 0.13205,
    "h": 26.4
  },
  "luminance": 0.05144
}

Semantic roles & 50–950 ramp

primary
#7C1B1A
secondary
#42AFB0
accent
#E7E840
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #7C1B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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