#7C181A#7C181A

#7C181A is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.5% C 0.135 H 25.4°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#7C181A
RGBrgb(124, 24, 26)
HSLhsl(359, 68%, 29%)
HSVhsv(359, 81%, 49%)
CMYKcmyk(0%, 80.6%, 79%, 51.4%)
CIE-LABlab(26.78, 42.04, 26.02)
CIE-LCHlch(26.78, 49.44, 31.75°)
OKLaboklab(38.5% 0.1216 0.0578)
OKLCHoklch(38.5% 0.135 25.4)
XYZxyz(8.8263, 5.0143, 1.4802)
Luminance0.0501 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C181A #187C7A
analogous
#7C184C #7C181A #7C4818
triadic
#7C181A #1A7C18 #181A7C
tetradic
#7C181A #4C7C18 #187C7A #48187C
square
#7C181A #4C7C18 #187C7A #48187C
split-complementary
#7C181A #187C48 #184C7C
monochromatic
#1A0505 #490E0F #7C181A #AF2225 #D83639

Accessibility & contrast

On white

10.49
#7C181A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#7C181A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C181A
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C181A#FFFFFF#000000##FFFFFF
##7C181A1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373119
Deuteranopia (green-blind)
#504716
Tritanopia (blue-blind)
#89001A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7c181a;
/* rgb */ color: rgb(124, 24, 26);
/* oklch */ color: oklch(38.5% 0.135 25.4);
Tailwind
colors: {
  custom: {
    50: '#aa5f57',
    500: '#7c181a',
    950: '#000000',
  },
}
SCSS
$custom: #7c181a;
$custom-light: #aa5f57;
$custom-dark: #000000;
JSON
{
  "hex": "#7c181a",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 26
  },
  "hsl": {
    "h": 358.8,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38502,
    "c": 0.13459,
    "h": 25.4
  },
  "luminance": 0.05013
}

Semantic roles & 50–950 ramp

primary
#7C181A
secondary
#3FB1AE
accent
#EAE73D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #7C181A

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

Preview Lab → · Contrast checker → · Palette generator →

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