#7D171D#7D171D

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

Color values

HEX#7D171D
RGBrgb(125, 23, 29)
HSLhsl(356, 69%, 29%)
HSVhsv(356, 82%, 49%)
CMYKcmyk(0%, 81.6%, 76.8%, 51%)
CIE-LABlab(26.91, 42.81, 24.33)
CIE-LCHlch(26.91, 49.25, 29.61°)
OKLaboklab(38.65% 0.1246 0.0548)
OKLCHoklch(38.65% 0.136 23.7)
XYZxyz(8.9867, 5.0629, 1.6662)
Luminance0.0506 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D171D #177D77
analogous
#7D1750 #7D171D #7D4417
triadic
#7D171D #1D7D17 #171D7D
tetradic
#7D171D #507D17 #177D77 #44177D
square
#7D171D #507D17 #177D77 #44177D
split-complementary
#7D171D #177D44 #17507D
monochromatic
#1A0506 #490D11 #7D171D #B12129 #DA353E

Accessibility & contrast

On white

10.44
#7D171D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D171D
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D171D#FFFFFF#000000##FFFFFF
##7D171D1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37321C
Deuteranopia (green-blind)
#504719
Tritanopia (blue-blind)
#8A001A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7d171d;
/* rgb */ color: rgb(125, 23, 29);
/* oklch */ color: oklch(38.7% 0.136 23.7);
Tailwind
colors: {
  custom: {
    50: '#aa5f59',
    500: '#7d171d',
    950: '#000000',
  },
}
SCSS
$custom: #7d171d;
$custom-light: #aa5f59;
$custom-dark: #000000;
JSON
{
  "hex": "#7d171d",
  "rgb": {
    "r": 125,
    "g": 23,
    "b": 29
  },
  "hsl": {
    "h": 356.471,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38654,
    "c": 0.13611,
    "h": 23.7
  },
  "luminance": 0.05061
}

Semantic roles & 50–950 ramp

primary
#7D171D
secondary
#3EB2AB
accent
#ECE13C
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #7D171D

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

Preview Lab → · Contrast checker → · Palette generator →

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