#7D162C#7D162C

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

Color values

HEX#7D162C
RGBrgb(125, 22, 44)
HSLhsl(347, 70%, 29%)
HSVhsv(347, 82%, 49%)
CMYKcmyk(0%, 82.4%, 64.8%, 51%)
CIE-LABlab(27.07, 43.95, 14.62)
CIE-LCHlch(27.07, 46.31, 18.40°)
OKLaboklab(38.85% 0.1317 0.0355)
OKLCHoklch(38.85% 0.136 15.1)
XYZxyz(9.2000, 5.1170, 2.8856)
Luminance0.0512 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D162C #167D67
analogous
#7D1660 #7D162C #7D3416
triadic
#7D162C #2C7D16 #162C7D
tetradic
#7D162C #607D16 #167D67 #34167D
square
#7D162C #607D16 #167D67 #34167D
split-complementary
#7D162C #167D34 #16607D
monochromatic
#1A0509 #490D1A #7D162C #B11F3E #DB3256

Accessibility & contrast

On white

10.38
#7D162C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7D162C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D162C
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D162C#FFFFFF#000000##FFFFFF
##7D162C1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34322C
Deuteranopia (green-blind)
#4E4829
Tritanopia (blue-blind)
#8A0020
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7d162c;
/* rgb */ color: rgb(125, 22, 44);
/* oklch */ color: oklch(38.9% 0.136 15.1);
Tailwind
colors: {
  custom: {
    50: '#a95f64',
    500: '#7d162c',
    950: '#000000',
  },
}
SCSS
$custom: #7d162c;
$custom-light: #a95f64;
$custom-dark: #000000;
JSON
{
  "hex": "#7d162c",
  "rgb": {
    "r": 125,
    "g": 22,
    "b": 44
  },
  "hsl": {
    "h": 347.184,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38851,
    "c": 0.1364,
    "h": 15.1
  },
  "luminance": 0.05116
}

Semantic roles & 50–950 ramp

primary
#7D162C
secondary
#3DB299
accent
#EDC73B
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A

Preview Lab

Preview with #7D162C

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

Preview Lab → · Contrast checker → · Palette generator →

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