#7D172E#7D172E

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

Color values

HEX#7D172E
RGBrgb(125, 23, 46)
HSLhsl(346, 69%, 29%)
HSVhsv(346, 82%, 49%)
CMYKcmyk(0%, 81.6%, 63.2%, 51%)
CIE-LABlab(27.22, 43.77, 13.48)
CIE-LCHlch(27.22, 45.80, 17.11°)
OKLaboklab(38.98% 0.1316 0.033)
OKLCHoklch(38.98% 0.136 14.1)
XYZxyz(9.2580, 5.1714, 3.0949)
Luminance0.0517 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D172E #177D66
analogous
#7D1761 #7D172E #7D3317
triadic
#7D172E #2E7D17 #172E7D
tetradic
#7D172E #617D17 #177D66 #33177D
square
#7D172E #617D17 #177D66 #33177D
split-complementary
#7D172E #177D33 #17617D
monochromatic
#1A050A #490D1B #7D172E #B12141 #DA355A

Accessibility & contrast

On white

10.32
#7D172E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D172E
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D172E#FFFFFF#000000##FFFFFF
##7D172E1.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34332E
Deuteranopia (green-blind)
#4E482B
Tritanopia (blue-blind)
#890021
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7d172e;
/* rgb */ color: rgb(125, 23, 46);
/* oklch */ color: oklch(39.0% 0.136 14.1);
Tailwind
colors: {
  custom: {
    50: '#a95f66',
    500: '#7d172e',
    950: '#000000',
  },
}
SCSS
$custom: #7d172e;
$custom-light: #a95f66;
$custom-dark: #000000;
JSON
{
  "hex": "#7d172e",
  "rgb": {
    "r": 125,
    "g": 23,
    "b": 46
  },
  "hsl": {
    "h": 346.471,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38978,
    "c": 0.13562,
    "h": 14.1
  },
  "luminance": 0.0517
}

Semantic roles & 50–950 ramp

primary
#7D172E
secondary
#3EB298
accent
#ECC43C
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A

Preview Lab

Preview with #7D172E

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

Preview Lab → · Contrast checker → · Palette generator →

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