#7B162F#7B162F

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

Color values

HEX#7B162F
RGBrgb(123, 22, 47)
HSLhsl(345, 70%, 28%)
HSVhsv(345, 82%, 48%)
CMYKcmyk(0%, 82.1%, 61.8%, 51.8%)
CIE-LABlab(26.71, 43.54, 12.05)
CIE-LCHlch(26.71, 45.18, 15.47°)
OKLaboklab(38.54% 0.1313 0.0298)
OKLCHoklch(38.54% 0.135 12.8)
XYZxyz(8.9693, 4.9913, 3.1799)
Luminance0.0499 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B162F #167B62
analogous
#7B1661 #7B162F #7B3016
triadic
#7B162F #2F7B16 #162F7B
tetradic
#7B162F #617B16 #167B62 #30167B
square
#7B162F #617B16 #167B62 #30167B
split-complementary
#7B162F #167B30 #16617B
monochromatic
#1A050A #470D1B #7B162F #AF1F43 #DA315B

Accessibility & contrast

On white

10.51
#7B162F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#7B162F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B162F
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B162F#FFFFFF#000000##FFFFFF
##7B162F1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33322F
Deuteranopia (green-blind)
#4C472C
Tritanopia (blue-blind)
#870021
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7b162f;
/* rgb */ color: rgb(123, 22, 47);
/* oklch */ color: oklch(38.5% 0.135 12.8);
Tailwind
colors: {
  custom: {
    50: '#a75f67',
    500: '#7b162f',
    950: '#000000',
  },
}
SCSS
$custom: #7b162f;
$custom-light: #a75f67;
$custom-dark: #000000;
JSON
{
  "hex": "#7b162f",
  "rgb": {
    "r": 123,
    "g": 22,
    "b": 47
  },
  "hsl": {
    "h": 345.149,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38535,
    "c": 0.13462,
    "h": 12.8
  },
  "luminance": 0.0499
}

Semantic roles & 50–950 ramp

primary
#7B162F
secondary
#3DB094
accent
#ECC13B
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7B162F

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

Preview Lab → · Contrast checker → · Palette generator →

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