#7D162A#7D162A

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

Color values

HEX#7D162A
RGBrgb(125, 22, 42)
HSLhsl(348, 70%, 29%)
HSVhsv(348, 82%, 49%)
CMYKcmyk(0%, 82.4%, 66.4%, 51%)
CIE-LABlab(27.02, 43.82, 15.91)
CIE-LCHlch(27.02, 46.62, 19.96°)
OKLaboklab(38.81% 0.1309 0.0383)
OKLCHoklch(38.81% 0.136 16.3)
XYZxyz(9.1633, 5.1024, 2.6924)
Luminance0.0510 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D162A #167D69
analogous
#7D165E #7D162A #7D3616
triadic
#7D162A #2A7D16 #162A7D
tetradic
#7D162A #5E7D16 #167D69 #36167D
square
#7D162A #5E7D16 #167D69 #36167D
split-complementary
#7D162A #167D36 #165E7D
monochromatic
#1A0509 #490D19 #7D162A #B11F3B #DB3253

Accessibility & contrast

On white

10.40
#7D162A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D162A
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D162A#FFFFFF#000000##FFFFFF
##7D162A1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34322A
Deuteranopia (green-blind)
#4E4827
Tritanopia (blue-blind)
#8A001F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7d162a;
/* rgb */ color: rgb(125, 22, 42);
/* oklch */ color: oklch(38.8% 0.136 16.3);
Tailwind
colors: {
  custom: {
    50: '#a95f63',
    500: '#7d162a',
    950: '#000000',
  },
}
SCSS
$custom: #7d162a;
$custom-light: #a95f63;
$custom-dark: #000000;
JSON
{
  "hex": "#7d162a",
  "rgb": {
    "r": 125,
    "g": 22,
    "b": 42
  },
  "hsl": {
    "h": 348.35,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38808,
    "c": 0.13633,
    "h": 16.3
  },
  "luminance": 0.05101
}

Semantic roles & 50–950 ramp

primary
#7D162A
secondary
#3DB29B
accent
#EDCA3B
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979

Preview Lab

Preview with #7D162A

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

Preview Lab → · Contrast checker → · Palette generator →

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