#7B161D#7B161D

#7B161D is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.2% C 0.135 H 23.3°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#7B161D
RGBrgb(123, 22, 29)
HSLhsl(356, 70%, 28%)
HSVhsv(356, 82%, 48%)
CMYKcmyk(0%, 82.1%, 76.4%, 51.8%)
CIE-LABlab(26.38, 42.49, 23.61)
CIE-LCHlch(26.38, 48.61, 29.05°)
OKLaboklab(38.18% 0.1239 0.0534)
OKLCHoklch(38.18% 0.135 23.3)
XYZxyz(8.6781, 4.8749, 1.6462)
Luminance0.0487 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B161D #167B74
analogous
#7B164F #7B161D #7B4116
triadic
#7B161D #1D7B16 #161D7B
tetradic
#7B161D #4F7B16 #167B74 #41167B
square
#7B161D #4F7B16 #167B74 #41167B
split-complementary
#7B161D #167B41 #164F7B
monochromatic
#1A0506 #470D11 #7B161D #AF1F29 #DA313D

Accessibility & contrast

On white

10.64
#7B161D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#7B161D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B161D
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B161D#FFFFFF#000000##FFFFFF
##7B161D1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35311C
Deuteranopia (green-blind)
#4E4619
Tritanopia (blue-blind)
#88001A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #7b161d;
/* rgb */ color: rgb(123, 22, 29);
/* oklch */ color: oklch(38.2% 0.135 23.3);
Tailwind
colors: {
  custom: {
    50: '#a95e59',
    500: '#7b161d',
    950: '#000000',
  },
}
SCSS
$custom: #7b161d;
$custom-light: #a95e59;
$custom-dark: #000000;
JSON
{
  "hex": "#7b161d",
  "rgb": {
    "r": 123,
    "g": 22,
    "b": 29
  },
  "hsl": {
    "h": 355.842,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38179,
    "c": 0.13485,
    "h": 23.3
  },
  "luminance": 0.04873
}

Semantic roles & 50–950 ramp

primary
#7B161D
secondary
#3DB0A8
accent
#ECE03B
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #7B161D

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

Preview Lab → · Contrast checker → · Palette generator →

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