#7C162D#7C162D

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

Color values

HEX#7C162D
RGBrgb(124, 22, 45)
HSLhsl(346, 70%, 29%)
HSVhsv(346, 82%, 49%)
CMYKcmyk(0%, 82.3%, 63.7%, 51.4%)
CIE-LABlab(26.88, 43.71, 13.66)
CIE-LCHlch(26.88, 45.79, 17.35°)
OKLaboklab(38.68% 0.1313 0.0334)
OKLCHoklch(38.68% 0.135 14.3)
XYZxyz(9.0737, 5.0497, 2.9790)
Luminance0.0505 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C162D #167C65
analogous
#7C1660 #7C162D #7C3216
triadic
#7C162D #2D7C16 #162D7C
tetradic
#7C162D #607C16 #167C65 #32167C
square
#7C162D #607C16 #167C65 #32167C
split-complementary
#7C162D #167C32 #16607C
monochromatic
#1A0509 #480D1A #7C162D #B01F40 #DB3258

Accessibility & contrast

On white

10.45
#7C162D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7C162D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C162D
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C162D#FFFFFF#000000##FFFFFF
##7C162D1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34322D
Deuteranopia (green-blind)
#4D472A
Tritanopia (blue-blind)
#880020
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7c162d;
/* rgb */ color: rgb(124, 22, 45);
/* oklch */ color: oklch(38.7% 0.135 14.3);
Tailwind
colors: {
  custom: {
    50: '#a85f65',
    500: '#7c162d',
    950: '#000000',
  },
}
SCSS
$custom: #7c162d;
$custom-light: #a85f65;
$custom-dark: #000000;
JSON
{
  "hex": "#7c162d",
  "rgb": {
    "r": 124,
    "g": 22,
    "b": 45
  },
  "hsl": {
    "h": 346.471,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38681,
    "c": 0.13545,
    "h": 14.3
  },
  "luminance": 0.05048
}

Semantic roles & 50–950 ramp

primary
#7C162D
secondary
#3DB197
accent
#EDC53B
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A

Preview Lab

Preview with #7C162D

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

Preview Lab → · Contrast checker → · Palette generator →

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