#7C181B#7C181B

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

Color values

HEX#7C181B
RGBrgb(124, 24, 27)
HSLhsl(358, 68%, 29%)
HSVhsv(358, 81%, 49%)
CMYKcmyk(0%, 80.6%, 78.2%, 51.4%)
CIE-LABlab(26.79, 42.09, 25.41)
CIE-LCHlch(26.79, 49.16, 31.12°)
OKLaboklab(38.52% 0.1219 0.0567)
OKLCHoklch(38.52% 0.134 24.9)
XYZxyz(8.8377, 5.0189, 1.5401)
Luminance0.0502 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C181B #187C79
analogous
#7C184D #7C181B #7C4718
triadic
#7C181B #1B7C18 #181B7C
tetradic
#7C181B #4D7C18 #187C79 #47187C
square
#7C181B #4D7C18 #187C79 #47187C
split-complementary
#7C181B #187C47 #184D7C
monochromatic
#1A0506 #490E10 #7C181B #AF2226 #D8363B

Accessibility & contrast

On white

10.48
#7C181B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C181B
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C181B#FFFFFF#000000##FFFFFF
##7C181B1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c181b;
/* rgb */ color: rgb(124, 24, 27);
/* oklch */ color: oklch(38.5% 0.134 24.9);
Tailwind
colors: {
  custom: {
    50: '#aa5f57',
    500: '#7c181b',
    950: '#000000',
  },
}
SCSS
$custom: #7c181b;
$custom-light: #aa5f57;
$custom-dark: #000000;
JSON
{
  "hex": "#7c181b",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 27
  },
  "hsl": {
    "h": 358.2,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38515,
    "c": 0.13448,
    "h": 24.9
  },
  "luminance": 0.05017
}

Semantic roles & 50–950 ramp

primary
#7C181B
secondary
#3FB1AD
accent
#EAE53D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #7C181B

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

Preview Lab → · Contrast checker → · Palette generator →

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