#7D1A17#7D1A17

#7D1A17 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.8% C 0.134 H 27.4°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#7D1A17
RGBrgb(125, 26, 23)
HSLhsl(2, 69%, 29%)
HSVhsv(2, 82%, 49%)
CMYKcmyk(0%, 79.2%, 81.6%, 51%)
CIE-LABlab(27.19, 41.58, 28.36)
CIE-LCHlch(27.19, 50.33, 34.30°)
OKLaboklab(38.84% 0.1193 0.0619)
OKLCHoklch(38.84% 0.134 27.4)
XYZxyz(8.9826, 5.1620, 1.3339)
Luminance0.0516 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1A17 #177A7D
analogous
#7D1747 #7D1A17 #7D4D17
triadic
#7D1A17 #177D1A #1A177D
tetradic
#7D1A17 #477D17 #177A7D #4D177D
square
#7D1A17 #477D17 #177A7D #4D177D
split-complementary
#7D1A17 #177D4D #17477D
monochromatic
#1A0505 #490F0D #7D1A17 #B12521 #DA3935

Accessibility & contrast

On white

10.33
#7D1A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1A17
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1A17#FFFFFF#000000##FFFFFF
##7D1A171.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393215
Deuteranopia (green-blind)
#514813
Tritanopia (blue-blind)
#8A001B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7d1a17;
/* rgb */ color: rgb(125, 26, 23);
/* oklch */ color: oklch(38.8% 0.134 27.4);
Tailwind
colors: {
  custom: {
    50: '#ab6054',
    500: '#7d1a17',
    950: '#000000',
  },
}
SCSS
$custom: #7d1a17;
$custom-light: #ab6054;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1a17",
  "rgb": {
    "r": 125,
    "g": 26,
    "b": 23
  },
  "hsl": {
    "h": 1.765,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38837,
    "c": 0.13437,
    "h": 27.4
  },
  "luminance": 0.05161
}

Semantic roles & 50–950 ramp

primary
#7D1A17
secondary
#3EAEB2
accent
#E7EC3C
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120503
muted
#817978

Preview Lab

Preview with #7D1A17

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

Preview Lab → · Contrast checker → · Palette generator →

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