#7D1720#7D1720

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

Color values

HEX#7D1720
RGBrgb(125, 23, 32)
HSLhsl(355, 69%, 29%)
HSVhsv(355, 82%, 49%)
CMYKcmyk(0%, 81.6%, 74.4%, 51%)
CIE-LABlab(26.96, 42.95, 22.45)
CIE-LCHlch(26.96, 48.47, 27.60°)
OKLaboklab(38.7% 0.1258 0.0514)
OKLCHoklch(38.7% 0.136 22.2)
XYZxyz(9.0256, 5.0785, 1.8712)
Luminance0.0508 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1720 #177D74
analogous
#7D1753 #7D1720 #7D4117
triadic
#7D1720 #207D17 #17207D
tetradic
#7D1720 #537D17 #177D74 #41177D
square
#7D1720 #537D17 #177D74 #41177D
split-complementary
#7D1720 #177D41 #17537D
monochromatic
#1A0507 #490D13 #7D1720 #B1212D #DA3543

Accessibility & contrast

On white

10.42
#7D1720 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7D1720 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1720
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1720#FFFFFF#000000##FFFFFF
##7D17201.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36321F
Deuteranopia (green-blind)
#50471C
Tritanopia (blue-blind)
#8A001C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7d1720;
/* rgb */ color: rgb(125, 23, 32);
/* oklch */ color: oklch(38.7% 0.136 22.2);
Tailwind
colors: {
  custom: {
    50: '#aa5f5b',
    500: '#7d1720',
    950: '#000000',
  },
}
SCSS
$custom: #7d1720;
$custom-light: #aa5f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1720",
  "rgb": {
    "r": 125,
    "g": 23,
    "b": 32
  },
  "hsl": {
    "h": 354.706,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38701,
    "c": 0.13584,
    "h": 22.2
  },
  "luminance": 0.05077
}

Semantic roles & 50–950 ramp

primary
#7D1720
secondary
#3EB2A8
accent
#ECDC3C
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7D1720

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

Preview Lab → · Contrast checker → · Palette generator →

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