#7D162F#7D162F

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

Color values

HEX#7D162F
RGBrgb(125, 22, 47)
HSLhsl(345, 70%, 29%)
HSVhsv(345, 82%, 49%)
CMYKcmyk(0%, 82.4%, 62.4%, 51%)
CIE-LABlab(27.13, 44.15, 12.69)
CIE-LCHlch(27.13, 45.93, 16.03°)
OKLaboklab(38.92% 0.133 0.0312)
OKLCHoklch(38.92% 0.137 13.2)
XYZxyz(9.2584, 5.1404, 3.1935)
Luminance0.0514 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D162F #167D64
analogous
#7D1663 #7D162F #7D3116
triadic
#7D162F #2F7D16 #162F7D
tetradic
#7D162F #637D16 #167D64 #31167D
square
#7D162F #637D16 #167D64 #31167D
split-complementary
#7D162F #167D31 #16637D
monochromatic
#1A050A #490D1B #7D162F #B11F43 #DB325B

Accessibility & contrast

On white

10.36
#7D162F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7D162F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D162F
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D162F#FFFFFF#000000##FFFFFF
##7D162F1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34332F
Deuteranopia (green-blind)
#4E482C
Tritanopia (blue-blind)
#890021
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7d162f;
/* rgb */ color: rgb(125, 22, 47);
/* oklch */ color: oklch(38.9% 0.137 13.2);
Tailwind
colors: {
  custom: {
    50: '#a95f67',
    500: '#7d162f',
    950: '#000000',
  },
}
SCSS
$custom: #7d162f;
$custom-light: #a95f67;
$custom-dark: #000000;
JSON
{
  "hex": "#7d162f",
  "rgb": {
    "r": 125,
    "g": 22,
    "b": 47
  },
  "hsl": {
    "h": 345.437,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38921,
    "c": 0.13657,
    "h": 13.2
  },
  "luminance": 0.05139
}

Semantic roles & 50–950 ramp

primary
#7D162F
secondary
#3DB296
accent
#EDC23B
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7D162F

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

Preview Lab → · Contrast checker → · Palette generator →

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