#7B162B#7B162B

#7B162B is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.4% C 0.134 H 15.3°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#7B162B
RGBrgb(123, 22, 43)
HSLhsl(348, 70%, 28%)
HSVhsv(348, 82%, 48%)
CMYKcmyk(0%, 82.1%, 65%, 51.8%)
CIE-LABlab(26.62, 43.27, 14.63)
CIE-LCHlch(26.62, 45.68, 18.69°)
OKLaboklab(38.44% 0.1296 0.0355)
OKLCHoklch(38.44% 0.134 15.3)
XYZxyz(8.8923, 4.9605, 2.7743)
Luminance0.0496 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B162B #167B66
analogous
#7B165D #7B162B #7B3316
triadic
#7B162B #2B7B16 #162B7B
tetradic
#7B162B #5D7B16 #167B66 #33167B
square
#7B162B #5D7B16 #167B66 #33167B
split-complementary
#7B162B #167B33 #165D7B
monochromatic
#1A0509 #470D19 #7B162B #AF1F3D #DA3154

Accessibility & contrast

On white

10.54
#7B162B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#7B162B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B162B
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B162B#FFFFFF#000000##FFFFFF
##7B162B1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33322B
Deuteranopia (green-blind)
#4D4628
Tritanopia (blue-blind)
#87001F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7b162b;
/* rgb */ color: rgb(123, 22, 43);
/* oklch */ color: oklch(38.4% 0.134 15.3);
Tailwind
colors: {
  custom: {
    50: '#a85f64',
    500: '#7b162b',
    950: '#000000',
  },
}
SCSS
$custom: #7b162b;
$custom-light: #a85f64;
$custom-dark: #000000;
JSON
{
  "hex": "#7b162b",
  "rgb": {
    "r": 123,
    "g": 22,
    "b": 43
  },
  "hsl": {
    "h": 347.525,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38442,
    "c": 0.13437,
    "h": 15.3
  },
  "luminance": 0.04959
}

Semantic roles & 50–950 ramp

primary
#7B162B
secondary
#3DB098
accent
#ECC83B
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979

Preview Lab

Preview with #7B162B

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

Preview Lab → · Contrast checker → · Palette generator →

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