#7B161F#7B161F

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

Color values

HEX#7B161F
RGBrgb(123, 22, 31)
HSLhsl(355, 70%, 28%)
HSVhsv(355, 82%, 48%)
CMYKcmyk(0%, 82.1%, 74.8%, 51.8%)
CIE-LABlab(26.40, 42.59, 22.35)
CIE-LCHlch(26.40, 48.09, 27.69°)
OKLaboklab(38.21% 0.1246 0.051)
OKLCHoklch(38.21% 0.135 22.3)
XYZxyz(8.7036, 4.8851, 1.7807)
Luminance0.0488 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B161F #167B72
analogous
#7B1651 #7B161F #7B3F16
triadic
#7B161F #1F7B16 #161F7B
tetradic
#7B161F #517B16 #167B72 #3F167B
square
#7B161F #517B16 #167B72 #3F167B
split-complementary
#7B161F #167B3F #16517B
monochromatic
#1A0507 #470D12 #7B161F #AF1F2C #DA3140

Accessibility & contrast

On white

10.62
#7B161F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#7B161F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B161F
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B161F#FFFFFF#000000##FFFFFF
##7B161F1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35311E
Deuteranopia (green-blind)
#4E461B
Tritanopia (blue-blind)
#88001B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #7b161f;
/* rgb */ color: rgb(123, 22, 31);
/* oklch */ color: oklch(38.2% 0.135 22.3);
Tailwind
colors: {
  custom: {
    50: '#a95e5a',
    500: '#7b161f',
    950: '#000000',
  },
}
SCSS
$custom: #7b161f;
$custom-light: #a95e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b161f",
  "rgb": {
    "r": 123,
    "g": 22,
    "b": 31
  },
  "hsl": {
    "h": 354.653,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38211,
    "c": 0.13468,
    "h": 22.3
  },
  "luminance": 0.04884
}

Semantic roles & 50–950 ramp

primary
#7B161F
secondary
#3DB0A6
accent
#ECDD3B
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7B161F

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

Preview Lab → · Contrast checker → · Palette generator →

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