#7B161C#7B161C

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

Color values

HEX#7B161C
RGBrgb(123, 22, 28)
HSLhsl(356, 70%, 28%)
HSVhsv(356, 82%, 48%)
CMYKcmyk(0%, 82.1%, 77.2%, 51.8%)
CIE-LABlab(26.36, 42.45, 24.23)
CIE-LCHlch(26.36, 48.88, 29.72°)
OKLaboklab(38.16% 0.1235 0.0545)
OKLCHoklch(38.16% 0.135 23.8)
XYZxyz(8.6659, 4.8700, 1.5821)
Luminance0.0487 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B161C #167B75
analogous
#7B164E #7B161C #7B4216
triadic
#7B161C #1C7B16 #161C7B
tetradic
#7B161C #4E7B16 #167B75 #42167B
square
#7B161C #4E7B16 #167B75 #42167B
split-complementary
#7B161C #167B42 #164E7B
monochromatic
#1A0506 #470D10 #7B161C #AF1F28 #DA313B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B161C#FFFFFF#000000##FFFFFF
##7B161C1.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)
#35311B
Deuteranopia (green-blind)
#4E4618
Tritanopia (blue-blind)
#880019
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #7b161c;
/* rgb */ color: rgb(123, 22, 28);
/* oklch */ color: oklch(38.2% 0.135 23.8);
Tailwind
colors: {
  custom: {
    50: '#a95e58',
    500: '#7b161c',
    950: '#000000',
  },
}
SCSS
$custom: #7b161c;
$custom-light: #a95e58;
$custom-dark: #000000;
JSON
{
  "hex": "#7b161c",
  "rgb": {
    "r": 123,
    "g": 22,
    "b": 28
  },
  "hsl": {
    "h": 356.436,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38164,
    "c": 0.13495,
    "h": 23.8
  },
  "luminance": 0.04869
}

Semantic roles & 50–950 ramp

primary
#7B161C
secondary
#3DB0A9
accent
#ECE23B
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #7B161C

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

Preview Lab → · Contrast checker → · Palette generator →

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