#7C161B#7C161B

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

Color values

HEX#7C161B
RGBrgb(124, 22, 27)
HSLhsl(357, 70%, 29%)
HSVhsv(357, 82%, 49%)
CMYKcmyk(0%, 82.3%, 78.2%, 51.4%)
CIE-LABlab(26.56, 42.72, 25.15)
CIE-LCHlch(26.56, 49.58, 30.49°)
OKLaboklab(38.35% 0.124 0.0562)
OKLCHoklch(38.35% 0.136 24.4)
XYZxyz(8.7980, 4.9394, 1.5269)
Luminance0.0494 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C161B #167C77
analogous
#7C164E #7C161B #7C4416
triadic
#7C161B #1B7C16 #161B7C
tetradic
#7C161B #4E7C16 #167C77 #44167C
square
#7C161B #4E7C16 #167C77 #44167C
split-complementary
#7C161B #167C44 #164E7C
monochromatic
#1A0506 #480D10 #7C161B #B01F26 #DB323A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C161B#FFFFFF#000000##FFFFFF
##7C161B1.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)
#36311A
Deuteranopia (green-blind)
#4F4717
Tritanopia (blue-blind)
#890019
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7c161b;
/* rgb */ color: rgb(124, 22, 27);
/* oklch */ color: oklch(38.3% 0.136 24.4);
Tailwind
colors: {
  custom: {
    50: '#aa5e57',
    500: '#7c161b',
    950: '#000000',
  },
}
SCSS
$custom: #7c161b;
$custom-light: #aa5e57;
$custom-dark: #000000;
JSON
{
  "hex": "#7c161b",
  "rgb": {
    "r": 124,
    "g": 22,
    "b": 27
  },
  "hsl": {
    "h": 357.059,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38347,
    "c": 0.13608,
    "h": 24.4
  },
  "luminance": 0.04938
}

Semantic roles & 50–950 ramp

primary
#7C161B
secondary
#3DB1AB
accent
#EDE43B
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #7C161B

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

Preview Lab → · Contrast checker → · Palette generator →

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