#7C291C#7C291C

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

Color values

HEX#7C291C
RGBrgb(124, 41, 28)
HSLhsl(8, 63%, 30%)
HSVhsv(8, 77%, 49%)
CMYKcmyk(0%, 66.9%, 77.4%, 51.4%)
CIE-LABlab(29.30, 35.27, 27.56)
CIE-LCHlch(29.30, 44.76, 38.01°)
OKLaboklab(40.4% 0.1007 0.0617)
OKLCHoklch(40.4% 0.118 31.5)
XYZxyz(9.3157, 5.9561, 1.7575)
Luminance0.0595 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C291C #1C6F7C
analogous
#7C1C3F #7C291C #7C591C
triadic
#7C291C #1C7C29 #291C7C
tetradic
#7C291C #3F7C1C #1C6F7C #591C7C
square
#7C291C #3F7C1C #1C6F7C #591C7C
split-complementary
#7C291C #1C7C59 #1C3F7C
monochromatic
#190806 #4A1811 #7C291C #AE3A27 #D4533F

Accessibility & contrast

On white

9.58
#7C291C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C291C
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C291C#FFFFFF#000000##FFFFFF
##7C291C1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403A1A
Deuteranopia (green-blind)
#554C19
Tritanopia (blue-blind)
#891326
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c291c;
/* rgb */ color: rgb(124, 41, 28);
/* oklch */ color: oklch(40.4% 0.118 31.5);
Tailwind
colors: {
  custom: {
    50: '#a96759',
    500: '#7c291c',
    950: '#000000',
  },
}
SCSS
$custom: #7c291c;
$custom-light: #a96759;
$custom-dark: #000000;
JSON
{
  "hex": "#7c291c",
  "rgb": {
    "r": 124,
    "g": 41,
    "b": 28
  },
  "hsl": {
    "h": 8.125,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40398,
    "c": 0.1181,
    "h": 31.5
  },
  "luminance": 0.05955
}

Semantic roles & 50–950 ramp

primary
#7C291C
secondary
#44A1B0
accent
#D0E642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7C291C

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

Preview Lab → · Contrast checker → · Palette generator →

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