#7C161A#7C161A

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

Color values

HEX#7C161A
RGBrgb(124, 22, 26)
HSLhsl(358, 70%, 29%)
HSVhsv(358, 82%, 49%)
CMYKcmyk(0%, 82.3%, 79%, 51.4%)
CIE-LABlab(26.55, 42.68, 25.77)
CIE-LCHlch(26.55, 49.86, 31.12°)
OKLaboklab(38.33% 0.1236 0.0572)
OKLCHoklch(38.33% 0.136 24.8)
XYZxyz(8.7866, 4.9349, 1.4670)
Luminance0.0493 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C161A #167C78
analogous
#7C164D #7C161A #7C4516
triadic
#7C161A #1A7C16 #161A7C
tetradic
#7C161A #4D7C16 #167C78 #45167C
square
#7C161A #4D7C16 #167C78 #45167C
split-complementary
#7C161A #167C45 #164D7C
monochromatic
#1A0505 #480D0F #7C161A #B01F25 #DB3238

Accessibility & contrast

On white

10.57
#7C161A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C161A
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C161A#FFFFFF#000000##FFFFFF
##7C161A1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363119
Deuteranopia (green-blind)
#4F4716
Tritanopia (blue-blind)
#890019
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7c161a;
/* rgb */ color: rgb(124, 22, 26);
/* oklch */ color: oklch(38.3% 0.136 24.8);
Tailwind
colors: {
  custom: {
    50: '#aa5e56',
    500: '#7c161a',
    950: '#000000',
  },
}
SCSS
$custom: #7c161a;
$custom-light: #aa5e56;
$custom-dark: #000000;
JSON
{
  "hex": "#7c161a",
  "rgb": {
    "r": 124,
    "g": 22,
    "b": 26
  },
  "hsl": {
    "h": 357.647,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38333,
    "c": 0.1362,
    "h": 24.8
  },
  "luminance": 0.04933
}

Semantic roles & 50–950 ramp

primary
#7C161A
secondary
#3DB1AC
accent
#EDE63B
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #7C161A

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

Preview Lab → · Contrast checker → · Palette generator →

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