#7B161E#7B161E

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

Color values

HEX#7B161E
RGBrgb(123, 22, 30)
HSLhsl(355, 70%, 28%)
HSVhsv(355, 82%, 48%)
CMYKcmyk(0%, 82.1%, 75.6%, 51.8%)
CIE-LABlab(26.39, 42.54, 22.98)
CIE-LCHlch(26.39, 48.35, 28.38°)
OKLaboklab(38.2% 0.1242 0.0522)
OKLCHoklch(38.2% 0.135 22.8)
XYZxyz(8.6906, 4.8799, 1.7124)
Luminance0.0488 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B161E #167B73
analogous
#7B1650 #7B161E #7B4016
triadic
#7B161E #1E7B16 #161E7B
tetradic
#7B161E #507B16 #167B73 #40167B
square
#7B161E #507B16 #167B73 #40167B
split-complementary
#7B161E #167B40 #16507B
monochromatic
#1A0506 #470D11 #7B161E #AF1F2B #DA313F

Accessibility & contrast

On white

10.63
#7B161E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B161E
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B161E#FFFFFF#000000##FFFFFF
##7B161E1.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b161e;
/* rgb */ color: rgb(123, 22, 30);
/* oklch */ color: oklch(38.2% 0.135 22.8);
Tailwind
colors: {
  custom: {
    50: '#a95e59',
    500: '#7b161e',
    950: '#000000',
  },
}
SCSS
$custom: #7b161e;
$custom-light: #a95e59;
$custom-dark: #000000;
JSON
{
  "hex": "#7b161e",
  "rgb": {
    "r": 123,
    "g": 22,
    "b": 30
  },
  "hsl": {
    "h": 355.248,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38195,
    "c": 0.13476,
    "h": 22.8
  },
  "luminance": 0.04879
}

Semantic roles & 50–950 ramp

primary
#7B161E
secondary
#3DB0A7
accent
#ECDE3B
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #7B161E

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

Preview Lab → · Contrast checker → · Palette generator →

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