#7D171E#7D171E

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

Color values

HEX#7D171E
RGBrgb(125, 23, 30)
HSLhsl(356, 69%, 29%)
HSVhsv(356, 82%, 49%)
CMYKcmyk(0%, 81.6%, 76%, 51%)
CIE-LABlab(26.93, 42.86, 23.71)
CIE-LCHlch(26.93, 48.98, 28.95°)
OKLaboklab(38.67% 0.125 0.0537)
OKLCHoklch(38.67% 0.136 23.2)
XYZxyz(8.9992, 5.0679, 1.7324)
Luminance0.0507 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D171E #177D76
analogous
#7D1751 #7D171E #7D4317
triadic
#7D171E #1E7D17 #171E7D
tetradic
#7D171E #517D17 #177D76 #43177D
square
#7D171E #517D17 #177D76 #43177D
split-complementary
#7D171E #177D43 #17517D
monochromatic
#1A0506 #490D12 #7D171E #B1212A #DA3540

Accessibility & contrast

On white

10.43
#7D171E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D171E
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D171E#FFFFFF#000000##FFFFFF
##7D171E1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37321D
Deuteranopia (green-blind)
#50471A
Tritanopia (blue-blind)
#8A001B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7d171e;
/* rgb */ color: rgb(125, 23, 30);
/* oklch */ color: oklch(38.7% 0.136 23.2);
Tailwind
colors: {
  custom: {
    50: '#aa5f5a',
    500: '#7d171e',
    950: '#000000',
  },
}
SCSS
$custom: #7d171e;
$custom-light: #aa5f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d171e",
  "rgb": {
    "r": 125,
    "g": 23,
    "b": 30
  },
  "hsl": {
    "h": 355.882,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38669,
    "c": 0.13602,
    "h": 23.2
  },
  "luminance": 0.05067
}

Semantic roles & 50–950 ramp

primary
#7D171E
secondary
#3EB2AA
accent
#ECE03C
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #7D171E

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

Preview Lab → · Contrast checker → · Palette generator →

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