#7C162E#7C162E

#7C162E is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.7% C 0.136 H 13.6°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#7C162E
RGBrgb(124, 22, 46)
HSLhsl(346, 70%, 29%)
HSVhsv(346, 82%, 49%)
CMYKcmyk(0%, 82.3%, 62.9%, 51.4%)
CIE-LABlab(26.90, 43.78, 13.01)
CIE-LCHlch(26.90, 45.67, 16.55°)
OKLaboklab(38.7% 0.1317 0.0319)
OKLCHoklch(38.7% 0.136 13.6)
XYZxyz(9.0932, 5.0575, 3.0816)
Luminance0.0506 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C162E #167C64
analogous
#7C1661 #7C162E #7C3116
triadic
#7C162E #2E7C16 #162E7C
tetradic
#7C162E #617C16 #167C64 #31167C
square
#7C162E #617C16 #167C64 #31167C
split-complementary
#7C162E #167C31 #16617C
monochromatic
#1A050A #480D1B #7C162E #B01F41 #DB325A

Accessibility & contrast

On white

10.44
#7C162E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C162E
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C162E#FFFFFF#000000##FFFFFF
##7C162E1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33322E
Deuteranopia (green-blind)
#4D472B
Tritanopia (blue-blind)
#880020
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7c162e;
/* rgb */ color: rgb(124, 22, 46);
/* oklch */ color: oklch(38.7% 0.136 13.6);
Tailwind
colors: {
  custom: {
    50: '#a85f66',
    500: '#7c162e',
    950: '#000000',
  },
}
SCSS
$custom: #7c162e;
$custom-light: #a85f66;
$custom-dark: #000000;
JSON
{
  "hex": "#7c162e",
  "rgb": {
    "r": 124,
    "g": 22,
    "b": 46
  },
  "hsl": {
    "h": 345.882,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38704,
    "c": 0.13552,
    "h": 13.6
  },
  "luminance": 0.05056
}

Semantic roles & 50–950 ramp

primary
#7C162E
secondary
#3DB196
accent
#EDC33B
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A

Preview Lab

Preview with #7C162E

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

Preview Lab → · Contrast checker → · Palette generator →

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