#7D291B#7D291B

#7D291B is a dark, moderate red. Relative luminance 0.060; OKLCH L 40.6% C 0.119 H 31.9°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#7D291B
RGBrgb(125, 41, 27)
HSLhsl(9, 64%, 30%)
HSVhsv(9, 78%, 49%)
CMYKcmyk(0%, 67.2%, 78.4%, 51%)
CIE-LABlab(29.48, 35.60, 28.40)
CIE-LCHlch(29.48, 45.54, 38.58°)
OKLaboklab(40.56% 0.1014 0.0631)
OKLCHoklch(40.56% 0.119 31.9)
XYZxyz(9.4493, 6.0263, 1.7023)
Luminance0.0602 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D291B #1B6F7D
analogous
#7D1B3E #7D291B #7D5A1B
triadic
#7D291B #1B7D29 #291B7D
tetradic
#7D291B #3E7D1B #1B6F7D #5A1B7D
square
#7D291B #3E7D1B #1B6F7D #5A1B7D
split-complementary
#7D291B #1B7D5A #1B3E7D
monochromatic
#190805 #4B1810 #7D291B #AF3A26 #D5533D

Accessibility & contrast

On white

9.52
#7D291B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7D291B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D291B
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D291B#FFFFFF#000000##FFFFFF
##7D291B1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A19
Deuteranopia (green-blind)
#554C18
Tritanopia (blue-blind)
#8A1226
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d291b;
/* rgb */ color: rgb(125, 41, 27);
/* oklch */ color: oklch(40.6% 0.119 31.9);
Tailwind
colors: {
  custom: {
    50: '#aa6758',
    500: '#7d291b',
    950: '#000000',
  },
}
SCSS
$custom: #7d291b;
$custom-light: #aa6758;
$custom-dark: #000000;
JSON
{
  "hex": "#7d291b",
  "rgb": {
    "r": 125,
    "g": 41,
    "b": 27
  },
  "hsl": {
    "h": 8.571,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40563,
    "c": 0.11949,
    "h": 31.9
  },
  "luminance": 0.06025
}

Semantic roles & 50–950 ramp

primary
#7D291B
secondary
#43A1B1
accent
#D0E740
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7D291B

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

Preview Lab → · Contrast checker → · Palette generator →

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