#7D1727#7D1727

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

Color values

HEX#7D1727
RGBrgb(125, 23, 39)
HSLhsl(351, 69%, 29%)
HSVhsv(351, 82%, 49%)
CMYKcmyk(0%, 81.6%, 68.8%, 51%)
CIE-LABlab(27.08, 43.33, 17.99)
CIE-LCHlch(27.08, 46.91, 22.54°)
OKLaboklab(38.83% 0.1286 0.0426)
OKLCHoklch(38.83% 0.135 18.3)
XYZxyz(9.1311, 5.1207, 2.4267)
Luminance0.0512 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1727 #177D6D
analogous
#7D175A #7D1727 #7D3A17
triadic
#7D1727 #277D17 #17277D
tetradic
#7D1727 #5A7D17 #177D6D #3A177D
square
#7D1727 #5A7D17 #177D6D #3A177D
split-complementary
#7D1727 #177D3A #175A7D
monochromatic
#1A0508 #490D17 #7D1727 #B12137 #DA354F

Accessibility & contrast

On white

10.38
#7D1727 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1727
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1727#FFFFFF#000000##FFFFFF
##7D17271.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353227
Deuteranopia (green-blind)
#4F4824
Tritanopia (blue-blind)
#8A001E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7d1727;
/* rgb */ color: rgb(125, 23, 39);
/* oklch */ color: oklch(38.8% 0.135 18.3);
Tailwind
colors: {
  custom: {
    50: '#aa5f60',
    500: '#7d1727',
    950: '#000000',
  },
}
SCSS
$custom: #7d1727;
$custom-light: #aa5f60;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1727",
  "rgb": {
    "r": 125,
    "g": 23,
    "b": 39
  },
  "hsl": {
    "h": 350.588,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38827,
    "c": 0.13548,
    "h": 18.3
  },
  "luminance": 0.05119
}

Semantic roles & 50–950 ramp

primary
#7D1727
secondary
#3EB2A0
accent
#ECD03C
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979

Preview Lab

Preview with #7D1727

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

Preview Lab → · Contrast checker → · Palette generator →

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