#7D172C#7D172C

#7D172C is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.136 H 15.3°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#7D172C
RGBrgb(125, 23, 44)
HSLhsl(348, 69%, 29%)
HSVhsv(348, 82%, 49%)
CMYKcmyk(0%, 81.6%, 64.8%, 51%)
CIE-LABlab(27.17, 43.64, 14.77)
CIE-LCHlch(27.17, 46.07, 18.69°)
OKLaboklab(38.93% 0.1307 0.0358)
OKLCHoklch(38.93% 0.136 15.3)
XYZxyz(9.2194, 5.1560, 2.8921)
Luminance0.0515 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D172C #177D68
analogous
#7D175F #7D172C #7D3517
triadic
#7D172C #2C7D17 #172C7D
tetradic
#7D172C #5F7D17 #177D68 #35177D
square
#7D172C #5F7D17 #177D68 #35177D
split-complementary
#7D172C #177D35 #175F7D
monochromatic
#1A0509 #490D1A #7D172C #B1213E #DA3557

Accessibility & contrast

On white

10.34
#7D172C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D172C
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D172C#FFFFFF#000000##FFFFFF
##7D172C1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35332C
Deuteranopia (green-blind)
#4E4829
Tritanopia (blue-blind)
#8A0020
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7d172c;
/* rgb */ color: rgb(125, 23, 44);
/* oklch */ color: oklch(38.9% 0.136 15.3);
Tailwind
colors: {
  custom: {
    50: '#a95f64',
    500: '#7d172c',
    950: '#000000',
  },
}
SCSS
$custom: #7d172c;
$custom-light: #a95f64;
$custom-dark: #000000;
JSON
{
  "hex": "#7d172c",
  "rgb": {
    "r": 125,
    "g": 23,
    "b": 44
  },
  "hsl": {
    "h": 347.647,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38932,
    "c": 0.13552,
    "h": 15.3
  },
  "luminance": 0.05155
}

Semantic roles & 50–950 ramp

primary
#7D172C
secondary
#3EB29A
accent
#ECC83C
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A

Preview Lab

Preview with #7D172C

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

Preview Lab → · Contrast checker → · Palette generator →

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