#7B161B#7B161B

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

Color values

HEX#7B161B
RGBrgb(123, 22, 27)
HSLhsl(357, 70%, 28%)
HSVhsv(357, 82%, 48%)
CMYKcmyk(0%, 82.1%, 78%, 51.8%)
CIE-LABlab(26.35, 42.41, 24.86)
CIE-LCHlch(26.35, 49.15, 30.38°)
OKLaboklab(38.15% 0.1231 0.0556)
OKLCHoklch(38.15% 0.135 24.3)
XYZxyz(8.6541, 4.8653, 1.5201)
Luminance0.0486 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B161B #167B76
analogous
#7B164D #7B161B #7B4316
triadic
#7B161B #1B7B16 #161B7B
tetradic
#7B161B #4D7B16 #167B76 #43167B
square
#7B161B #4D7B16 #167B76 #43167B
split-complementary
#7B161B #167B43 #164D7B
monochromatic
#1A0506 #470D10 #7B161B #AF1F26 #DA313A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B161B#FFFFFF#000000##FFFFFF
##7B161B1.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)
#36301A
Deuteranopia (green-blind)
#4E4617
Tritanopia (blue-blind)
#880019
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #7b161b;
/* rgb */ color: rgb(123, 22, 27);
/* oklch */ color: oklch(38.1% 0.135 24.3);
Tailwind
colors: {
  custom: {
    50: '#a95e57',
    500: '#7b161b',
    950: '#000000',
  },
}
SCSS
$custom: #7b161b;
$custom-light: #a95e57;
$custom-dark: #000000;
JSON
{
  "hex": "#7b161b",
  "rgb": {
    "r": 123,
    "g": 22,
    "b": 27
  },
  "hsl": {
    "h": 357.03,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3815,
    "c": 0.13506,
    "h": 24.3
  },
  "luminance": 0.04864
}

Semantic roles & 50–950 ramp

primary
#7B161B
secondary
#3DB0AA
accent
#ECE43B
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #7B161B

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

Preview Lab → · Contrast checker → · Palette generator →

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