#7C2C17#7C2C17

#7C2C17 is a dark, moderate red. Relative luminance 0.061; OKLCH L 40.7% C 0.116 H 35.6°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#7C2C17
RGBrgb(124, 44, 23)
HSLhsl(12, 69%, 29%)
HSVhsv(12, 81%, 49%)
CMYKcmyk(0%, 64.5%, 81.5%, 51.4%)
CIE-LABlab(29.79, 33.61, 30.95)
CIE-LCHlch(29.79, 45.69, 42.65°)
OKLaboklab(40.75% 0.0946 0.0676)
OKLCHoklch(40.75% 0.116 35.6)
XYZxyz(9.3685, 6.1496, 1.5041)
Luminance0.0615 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2C17 #17677C
analogous
#7C1735 #7C2C17 #7C5F17
triadic
#7C2C17 #177C2C #2C177C
tetradic
#7C2C17 #357C17 #17677C #5F177C
square
#7C2C17 #357C17 #17677C #5F177C
split-complementary
#7C2C17 #177C5F #17357C
monochromatic
#1A0905 #481A0D #7C2C17 #B03E21 #D95634

Accessibility & contrast

On white

9.42
#7C2C17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7C2C17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2C17
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2C17#FFFFFF#000000##FFFFFF
##7C2C171.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B14
Deuteranopia (green-blind)
#564D14
Tritanopia (blue-blind)
#891828
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7c2c17;
/* rgb */ color: rgb(124, 44, 23);
/* oklch */ color: oklch(40.7% 0.116 35.6);
Tailwind
colors: {
  custom: {
    50: '#a96955',
    500: '#7c2c17',
    950: '#000000',
  },
}
SCSS
$custom: #7c2c17;
$custom-light: #a96955;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2c17",
  "rgb": {
    "r": 124,
    "g": 44,
    "b": 23
  },
  "hsl": {
    "h": 12.475,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40746,
    "c": 0.11623,
    "h": 35.6
  },
  "luminance": 0.06148
}

Semantic roles & 50–950 ramp

primary
#7C2C17
secondary
#3E99B1
accent
#C7EC3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7C2C17

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

Preview Lab → · Contrast checker → · Palette generator →

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