#7D1728#7D1728

#7D1728 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.135 H 17.7°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#7D1728
RGBrgb(125, 23, 40)
HSLhsl(350, 69%, 29%)
HSVhsv(350, 82%, 49%)
CMYKcmyk(0%, 81.6%, 68%, 51%)
CIE-LABlab(27.09, 43.38, 17.34)
CIE-LCHlch(27.09, 46.72, 21.79°)
OKLaboklab(38.85% 0.129 0.0413)
OKLCHoklch(38.85% 0.135 17.7)
XYZxyz(9.1478, 5.1274, 2.5151)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1728 #177D6C
analogous
#7D175B #7D1728 #7D3917
triadic
#7D1728 #287D17 #17287D
tetradic
#7D1728 #5B7D17 #177D6C #39177D
square
#7D1728 #5B7D17 #177D6C #39177D
split-complementary
#7D1728 #177D39 #175B7D
monochromatic
#1A0508 #490D17 #7D1728 #B12139 #DA3550

Accessibility & contrast

On white

10.37
#7D1728 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1728
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1728#FFFFFF#000000##FFFFFF
##7D17281.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353228
Deuteranopia (green-blind)
#4F4825
Tritanopia (blue-blind)
#8A001F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7d1728;
/* rgb */ color: rgb(125, 23, 40);
/* oklch */ color: oklch(38.8% 0.135 17.7);
Tailwind
colors: {
  custom: {
    50: '#a95f61',
    500: '#7d1728',
    950: '#000000',
  },
}
SCSS
$custom: #7d1728;
$custom-light: #a95f61;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1728",
  "rgb": {
    "r": 125,
    "g": 23,
    "b": 40
  },
  "hsl": {
    "h": 350,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38847,
    "c": 0.13546,
    "h": 17.7
  },
  "luminance": 0.05126
}

Semantic roles & 50–950 ramp

primary
#7D1728
secondary
#3EB29E
accent
#ECCE3C
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979

Preview Lab

Preview with #7D1728

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

Preview Lab → · Contrast checker → · Palette generator →

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