#7D161F#7D161F

#7D161F is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.6% C 0.137 H 22.5°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#7D161F
RGBrgb(125, 22, 31)
HSLhsl(355, 70%, 29%)
HSVhsv(355, 82%, 49%)
CMYKcmyk(0%, 82.4%, 75.2%, 51%)
CIE-LABlab(26.83, 43.22, 22.95)
CIE-LCHlch(26.83, 48.93, 27.97°)
OKLaboklab(38.6% 0.1264 0.0523)
OKLCHoklch(38.6% 0.137 22.5)
XYZxyz(8.9927, 5.0341, 1.7942)
Luminance0.0503 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D161F #167D74
analogous
#7D1653 #7D161F #7D4116
triadic
#7D161F #1F7D16 #161F7D
tetradic
#7D161F #537D16 #167D74 #41167D
square
#7D161F #537D16 #167D74 #41167D
split-complementary
#7D161F #167D41 #16537D
monochromatic
#1A0506 #490D12 #7D161F #B11F2C #DB3241

Accessibility & contrast

On white

10.47
#7D161F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D161F
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D161F#FFFFFF#000000##FFFFFF
##7D161F1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36311E
Deuteranopia (green-blind)
#4F471B
Tritanopia (blue-blind)
#8A001B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7d161f;
/* rgb */ color: rgb(125, 22, 31);
/* oklch */ color: oklch(38.6% 0.137 22.5);
Tailwind
colors: {
  custom: {
    50: '#aa5f5a',
    500: '#7d161f',
    950: '#000000',
  },
}
SCSS
$custom: #7d161f;
$custom-light: #aa5f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d161f",
  "rgb": {
    "r": 125,
    "g": 22,
    "b": 31
  },
  "hsl": {
    "h": 354.757,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38603,
    "c": 0.13673,
    "h": 22.5
  },
  "luminance": 0.05033
}

Semantic roles & 50–950 ramp

primary
#7D161F
secondary
#3DB2A8
accent
#EDDD3B
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7D161F

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

Preview Lab → · Contrast checker → · Palette generator →

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