#7C161C#7C161C

#7C161C is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.4% C 0.136 H 23.9°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#7C161C
RGBrgb(124, 22, 28)
HSLhsl(356, 70%, 29%)
HSVhsv(356, 82%, 49%)
CMYKcmyk(0%, 82.3%, 77.4%, 51.4%)
CIE-LABlab(26.57, 42.77, 24.53)
CIE-LCHlch(26.57, 49.30, 29.84°)
OKLaboklab(38.36% 0.1243 0.0551)
OKLCHoklch(38.36% 0.136 23.9)
XYZxyz(8.8097, 4.9441, 1.5888)
Luminance0.0494 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C161C #167C76
analogous
#7C164F #7C161C #7C4316
triadic
#7C161C #1C7C16 #161C7C
tetradic
#7C161C #4F7C16 #167C76 #43167C
square
#7C161C #4F7C16 #167C76 #43167C
split-complementary
#7C161C #167C43 #164F7C
monochromatic
#1A0506 #480D10 #7C161C #B01F28 #DB323C

Accessibility & contrast

On white

10.56
#7C161C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#7C161C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C161C
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C161C#FFFFFF#000000##FFFFFF
##7C161C1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36311B
Deuteranopia (green-blind)
#4F4718
Tritanopia (blue-blind)
#89001A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7c161c;
/* rgb */ color: rgb(124, 22, 28);
/* oklch */ color: oklch(38.4% 0.136 23.9);
Tailwind
colors: {
  custom: {
    50: '#aa5e58',
    500: '#7c161c',
    950: '#000000',
  },
}
SCSS
$custom: #7c161c;
$custom-light: #aa5e58;
$custom-dark: #000000;
JSON
{
  "hex": "#7c161c",
  "rgb": {
    "r": 124,
    "g": 22,
    "b": 28
  },
  "hsl": {
    "h": 356.471,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38361,
    "c": 0.13599,
    "h": 23.9
  },
  "luminance": 0.04943
}

Semantic roles & 50–950 ramp

primary
#7C161C
secondary
#3DB1AA
accent
#EDE23B
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #7C161C

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

Preview Lab → · Contrast checker → · Palette generator →

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