#7B162A#7B162A

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

Color values

HEX#7B162A
RGBrgb(123, 22, 42)
HSLhsl(348, 70%, 28%)
HSVhsv(348, 82%, 48%)
CMYKcmyk(0%, 82.1%, 65.9%, 51.8%)
CIE-LABlab(26.60, 43.20, 15.28)
CIE-LCHlch(26.60, 45.83, 19.48°)
OKLaboklab(38.42% 0.1292 0.0369)
OKLCHoklch(38.42% 0.134 15.9)
XYZxyz(8.8742, 4.9533, 2.6788)
Luminance0.0495 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B162A #167B67
analogous
#7B165C #7B162A #7B3416
triadic
#7B162A #2A7B16 #162A7B
tetradic
#7B162A #5C7B16 #167B67 #34167B
square
#7B162A #5C7B16 #167B67 #34167B
split-complementary
#7B162A #167B34 #165C7B
monochromatic
#1A0509 #470D18 #7B162A #AF1F3C #DA3153

Accessibility & contrast

On white

10.55
#7B162A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B162A
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B162A#FFFFFF#000000##FFFFFF
##7B162A1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34312A
Deuteranopia (green-blind)
#4D4627
Tritanopia (blue-blind)
#87001F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7b162a;
/* rgb */ color: rgb(123, 22, 42);
/* oklch */ color: oklch(38.4% 0.134 15.9);
Tailwind
colors: {
  custom: {
    50: '#a85e63',
    500: '#7b162a',
    950: '#000000',
  },
}
SCSS
$custom: #7b162a;
$custom-light: #a85e63;
$custom-dark: #000000;
JSON
{
  "hex": "#7b162a",
  "rgb": {
    "r": 123,
    "g": 22,
    "b": 42
  },
  "hsl": {
    "h": 348.119,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3842,
    "c": 0.13433,
    "h": 15.9
  },
  "luminance": 0.04952
}

Semantic roles & 50–950 ramp

primary
#7B162A
secondary
#3DB099
accent
#ECC93B
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979

Preview Lab

Preview with #7B162A

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

Preview Lab → · Contrast checker → · Palette generator →

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