#7C291B#7C291B

#7C291B is a dark, moderate red. Relative luminance 0.059; OKLCH L 40.4% C 0.118 H 32.0°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#7C291B
RGBrgb(124, 41, 27)
HSLhsl(9, 64%, 30%)
HSVhsv(9, 78%, 49%)
CMYKcmyk(0%, 66.9%, 78.2%, 51.4%)
CIE-LABlab(29.29, 35.22, 28.14)
CIE-LCHlch(29.29, 45.08, 38.63°)
OKLaboklab(40.39% 0.1004 0.0627)
OKLCHoklch(40.39% 0.118 32)
XYZxyz(9.3040, 5.9514, 1.6955)
Luminance0.0595 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C291B #1B6E7C
analogous
#7C1B3E #7C291B #7C5A1B
triadic
#7C291B #1B7C29 #291B7C
tetradic
#7C291B #3E7C1B #1B6E7C #5A1B7C
square
#7C291B #3E7C1B #1B6E7C #5A1B7C
split-complementary
#7C291B #1B7C5A #1B3E7C
monochromatic
#190805 #4A1810 #7C291B #AE3A26 #D5533D

Accessibility & contrast

On white

9.59
#7C291B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7C291B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C291B
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C291B#FFFFFF#000000##FFFFFF
##7C291B1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403919
Deuteranopia (green-blind)
#554C18
Tritanopia (blue-blind)
#891326
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c291b;
/* rgb */ color: rgb(124, 41, 27);
/* oklch */ color: oklch(40.4% 0.118 32.0);
Tailwind
colors: {
  custom: {
    50: '#a96758',
    500: '#7c291b',
    950: '#000000',
  },
}
SCSS
$custom: #7c291b;
$custom-light: #a96758;
$custom-dark: #000000;
JSON
{
  "hex": "#7c291b",
  "rgb": {
    "r": 124,
    "g": 41,
    "b": 27
  },
  "hsl": {
    "h": 8.66,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40385,
    "c": 0.11833,
    "h": 32
  },
  "luminance": 0.0595
}

Semantic roles & 50–950 ramp

primary
#7C291B
secondary
#43A0B0
accent
#CFE741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7C291B

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

Preview Lab → · Contrast checker → · Palette generator →

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