#7B162D#7B162D

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

Color values

HEX#7B162D
RGBrgb(123, 22, 45)
HSLhsl(346, 70%, 28%)
HSVhsv(346, 82%, 48%)
CMYKcmyk(0%, 82.1%, 63.4%, 51.8%)
CIE-LABlab(26.67, 43.40, 13.34)
CIE-LCHlch(26.67, 45.41, 17.09°)
OKLaboklab(38.49% 0.1304 0.0326)
OKLCHoklch(38.49% 0.134 14)
XYZxyz(8.9299, 4.9756, 2.9723)
Luminance0.0497 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B162D #167B64
analogous
#7B165F #7B162D #7B3216
triadic
#7B162D #2D7B16 #162D7B
tetradic
#7B162D #5F7B16 #167B64 #32167B
square
#7B162D #5F7B16 #167B64 #32167B
split-complementary
#7B162D #167B32 #165F7B
monochromatic
#1A0509 #470D1A #7B162D #AF1F40 #DA3158

Accessibility & contrast

On white

10.53
#7B162D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B162D
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B162D#FFFFFF#000000##FFFFFF
##7B162D1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33322D
Deuteranopia (green-blind)
#4D462A
Tritanopia (blue-blind)
#870020
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7b162d;
/* rgb */ color: rgb(123, 22, 45);
/* oklch */ color: oklch(38.5% 0.134 14.0);
Tailwind
colors: {
  custom: {
    50: '#a85f65',
    500: '#7b162d',
    950: '#000000',
  },
}
SCSS
$custom: #7b162d;
$custom-light: #a85f65;
$custom-dark: #000000;
JSON
{
  "hex": "#7b162d",
  "rgb": {
    "r": 123,
    "g": 22,
    "b": 45
  },
  "hsl": {
    "h": 346.337,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38487,
    "c": 0.13446,
    "h": 14
  },
  "luminance": 0.04974
}

Semantic roles & 50–950 ramp

primary
#7B162D
secondary
#3DB096
accent
#ECC43B
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A

Preview Lab

Preview with #7B162D

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

Preview Lab → · Contrast checker → · Palette generator →

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