#7D291A#7D291A

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

Color values

HEX#7D291A
RGBrgb(125, 41, 26)
HSLhsl(9, 66%, 30%)
HSVhsv(9, 79%, 49%)
CMYKcmyk(0%, 67.2%, 79.2%, 51%)
CIE-LABlab(29.47, 35.55, 28.98)
CIE-LCHlch(29.47, 45.87, 39.18°)
OKLaboklab(40.55% 0.1011 0.0641)
OKLCHoklch(40.55% 0.12 32.4)
XYZxyz(9.4379, 6.0218, 1.6424)
Luminance0.0602 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D291A #1A6E7D
analogous
#7D1A3D #7D291A #7D5B1A
triadic
#7D291A #1A7D29 #291A7D
tetradic
#7D291A #3D7D1A #1A6E7D #5B1A7D
square
#7D291A #3D7D1A #1A6E7D #5B1A7D
split-complementary
#7D291A #1A7D5B #1A3D7D
monochromatic
#190805 #4A180F #7D291A #B03A25 #D6533B

Accessibility & contrast

On white

9.53
#7D291A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7D291A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D291A
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D291A#FFFFFF#000000##FFFFFF
##7D291A1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A18
Deuteranopia (green-blind)
#564C17
Tritanopia (blue-blind)
#8A1226
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d291a;
/* rgb */ color: rgb(125, 41, 26);
/* oklch */ color: oklch(40.6% 0.120 32.4);
Tailwind
colors: {
  custom: {
    50: '#aa6757',
    500: '#7d291a',
    950: '#000000',
  },
}
SCSS
$custom: #7d291a;
$custom-light: #aa6757;
$custom-dark: #000000;
JSON
{
  "hex": "#7d291a",
  "rgb": {
    "r": 125,
    "g": 41,
    "b": 26
  },
  "hsl": {
    "h": 9.091,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40551,
    "c": 0.1197,
    "h": 32.4
  },
  "luminance": 0.0602
}

Semantic roles & 50–950 ramp

primary
#7D291A
secondary
#42A0B1
accent
#CFE93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7D291A

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

Preview Lab → · Contrast checker → · Palette generator →

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