#7C162F#7C162F

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

Color values

HEX#7C162F
RGBrgb(124, 22, 47)
HSLhsl(345, 70%, 29%)
HSVhsv(345, 82%, 49%)
CMYKcmyk(0%, 82.3%, 62.1%, 51.4%)
CIE-LABlab(26.92, 43.84, 12.37)
CIE-LCHlch(26.92, 45.56, 15.75°)
OKLaboklab(38.73% 0.1321 0.0305)
OKLCHoklch(38.73% 0.136 13)
XYZxyz(9.1131, 5.0655, 3.1867)
Luminance0.0506 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C162F #167C63
analogous
#7C1662 #7C162F #7C3016
triadic
#7C162F #2F7C16 #162F7C
tetradic
#7C162F #627C16 #167C63 #30167C
square
#7C162F #627C16 #167C63 #30167C
split-complementary
#7C162F #167C30 #16627C
monochromatic
#1A050A #480D1B #7C162F #B01F43 #DB325B

Accessibility & contrast

On white

10.43
#7C162F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C162F
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C162F#FFFFFF#000000##FFFFFF
##7C162F1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33322F
Deuteranopia (green-blind)
#4D472C
Tritanopia (blue-blind)
#880021
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7c162f;
/* rgb */ color: rgb(124, 22, 47);
/* oklch */ color: oklch(38.7% 0.136 13.0);
Tailwind
colors: {
  custom: {
    50: '#a85f67',
    500: '#7c162f',
    950: '#000000',
  },
}
SCSS
$custom: #7c162f;
$custom-light: #a85f67;
$custom-dark: #000000;
JSON
{
  "hex": "#7c162f",
  "rgb": {
    "r": 124,
    "g": 22,
    "b": 47
  },
  "hsl": {
    "h": 345.294,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38728,
    "c": 0.1356,
    "h": 13
  },
  "luminance": 0.05064
}

Semantic roles & 50–950 ramp

primary
#7C162F
secondary
#3DB195
accent
#EDC13B
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7C162F

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

Preview Lab → · Contrast checker → · Palette generator →

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