#7A161B#7A161B

#7A161B is a dark, vivid red. Relative luminance 0.048; OKLCH L 38.0% C 0.134 H 24.2°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#7A161B
RGBrgb(122, 22, 27)
HSLhsl(357, 69%, 28%)
HSVhsv(357, 82%, 48%)
CMYKcmyk(0%, 82%, 77.9%, 52.2%)
CIE-LABlab(26.13, 42.09, 24.56)
CIE-LCHlch(26.13, 48.73, 30.26°)
OKLaboklab(37.95% 0.1222 0.055)
OKLCHoklch(37.95% 0.134 24.2)
XYZxyz(8.5118, 4.7919, 1.5134)
Luminance0.0479 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A161B #167A75
analogous
#7A164D #7A161B #7A4316
triadic
#7A161B #1B7A16 #161B7A
tetradic
#7A161B #4D7A16 #167A75 #43167A
square
#7A161B #4D7A16 #167A75 #43167A
split-complementary
#7A161B #167A43 #164D7A
monochromatic
#1A0506 #460D10 #7A161B #AE1F26 #DA3139

Accessibility & contrast

On white

10.72
#7A161B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#7A161B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A161B
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A161B#FFFFFF#000000##FFFFFF
##7A161B1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35301A
Deuteranopia (green-blind)
#4E4617
Tritanopia (blue-blind)
#870019
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #7a161b;
/* rgb */ color: rgb(122, 22, 27);
/* oklch */ color: oklch(38.0% 0.134 24.2);
Tailwind
colors: {
  custom: {
    50: '#a85e57',
    500: '#7a161b',
    950: '#000000',
  },
}
SCSS
$custom: #7a161b;
$custom-light: #a85e57;
$custom-dark: #000000;
JSON
{
  "hex": "#7a161b",
  "rgb": {
    "r": 122,
    "g": 22,
    "b": 27
  },
  "hsl": {
    "h": 357,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37953,
    "c": 0.13403,
    "h": 24.2
  },
  "luminance": 0.04791
}

Semantic roles & 50–950 ramp

primary
#7A161B
secondary
#3DAFA9
accent
#ECE33C
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #7A161B

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

Preview Lab → · Contrast checker → · Palette generator →

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