#7D291F#7D291F

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

Color values

HEX#7D291F
RGBrgb(125, 41, 31)
HSLhsl(6, 60%, 31%)
HSVhsv(6, 75%, 49%)
CMYKcmyk(0%, 67.2%, 75.2%, 51%)
CIE-LABlab(29.53, 35.79, 26.06)
CIE-LCHlch(29.53, 44.27, 36.06°)
OKLaboklab(40.62% 0.1029 0.059)
OKLCHoklch(40.62% 0.119 29.8)
XYZxyz(9.4987, 6.0461, 1.9629)
Luminance0.0604 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D291F #1F737D
analogous
#7D1F44 #7D291F #7D581F
triadic
#7D291F #1F7D29 #291F7D
tetradic
#7D291F #447D1F #1F737D #581F7D
square
#7D291F #447D1F #1F737D #581F7D
split-complementary
#7D291F #1F7D58 #1F447D
monochromatic
#1B0907 #4C1913 #7D291F #AE392B #D15445

Accessibility & contrast

On white

9.51
#7D291F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D291F
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D291F#FFFFFF#000000##FFFFFF
##7D291F1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403A1D
Deuteranopia (green-blind)
#554C1C
Tritanopia (blue-blind)
#8A1327
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d291f;
/* rgb */ color: rgb(125, 41, 31);
/* oklch */ color: oklch(40.6% 0.119 29.8);
Tailwind
colors: {
  custom: {
    50: '#a9675b',
    500: '#7d291f',
    950: '#000000',
  },
}
SCSS
$custom: #7d291f;
$custom-light: #a9675b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d291f",
  "rgb": {
    "r": 125,
    "g": 41,
    "b": 31
  },
  "hsl": {
    "h": 6.383,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40617,
    "c": 0.11863,
    "h": 29.8
  },
  "luminance": 0.06045
}

Semantic roles & 50–950 ramp

primary
#7D291F
secondary
#48A5B0
accent
#D2E344
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7D291F

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

Preview Lab → · Contrast checker → · Palette generator →

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