#7C1E1A#7C1E1A

#7C1E1A is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.1% C 0.129 H 27.4°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#7C1E1A
RGBrgb(124, 30, 26)
HSLhsl(2, 65%, 29%)
HSVhsv(2, 79%, 49%)
CMYKcmyk(0%, 75.8%, 79%, 51.4%)
CIE-LABlab(27.54, 39.90, 26.86)
CIE-LCHlch(27.54, 48.10, 33.94°)
OKLaboklab(39.07% 0.1148 0.0596)
OKLCHoklch(39.07% 0.129 27.4)
XYZxyz(8.9639, 5.2896, 1.5261)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1E1A #1A787C
analogous
#7C1A47 #7C1E1A #7C4F1A
triadic
#7C1E1A #1A7C1E #1E1A7C
tetradic
#7C1E1A #477C1A #1A787C #4F1A7C
square
#7C1E1A #477C1A #1A787C #4F1A7C
split-complementary
#7C1E1A #1A7C4F #1A477C
monochromatic
#190605 #49120F #7C1E1A #AF2A25 #D6413B

Accessibility & contrast

On white

10.21
#7C1E1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7C1E1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1E1A
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1E1A#FFFFFF#000000##FFFFFF
##7C1E1A1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3419
Deuteranopia (green-blind)
#514816
Tritanopia (blue-blind)
#89001E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7c1e1a;
/* rgb */ color: rgb(124, 30, 26);
/* oklch */ color: oklch(39.1% 0.129 27.4);
Tailwind
colors: {
  custom: {
    50: '#a96257',
    500: '#7c1e1a',
    950: '#000000',
  },
}
SCSS
$custom: #7c1e1a;
$custom-light: #a96257;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1e1a",
  "rgb": {
    "r": 124,
    "g": 30,
    "b": 26
  },
  "hsl": {
    "h": 2.449,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39074,
    "c": 0.12935,
    "h": 27.4
  },
  "luminance": 0.05288
}

Semantic roles & 50–950 ramp

primary
#7C1E1A
secondary
#42ACB0
accent
#E1E840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110503
muted
#807A78

Preview Lab

Preview with #7C1E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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