#7C2D17#7C2D17

#7C2D17 is a dark, moderate red. Relative luminance 0.062; OKLCH L 40.9% C 0.115 H 36.2°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#7C2D17
RGBrgb(124, 45, 23)
HSLhsl(13, 69%, 29%)
HSVhsv(13, 81%, 49%)
CMYKcmyk(0%, 63.7%, 81.5%, 51.4%)
CIE-LABlab(29.97, 33.11, 31.14)
CIE-LCHlch(29.97, 45.46, 43.24°)
OKLaboklab(40.89% 0.093 0.068)
OKLCHoklch(40.89% 0.115 36.2)
XYZxyz(9.4062, 6.2250, 1.5167)
Luminance0.0622 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2D17 #17667C
analogous
#7C1734 #7C2D17 #7C6017
triadic
#7C2D17 #177C2D #2D177C
tetradic
#7C2D17 #347C17 #17667C #60177C
square
#7C2D17 #347C17 #17667C #60177C
split-complementary
#7C2D17 #177C60 #17347C
monochromatic
#1A0905 #481A0D #7C2D17 #B04021 #D95834

Accessibility & contrast

On white

9.35
#7C2D17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7C2D17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2D17
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2D17#FFFFFF#000000##FFFFFF
##7C2D171.009.352.249.35
#FFFFFF9.351.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C14
Deuteranopia (green-blind)
#574D14
Tritanopia (blue-blind)
#891929
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7c2d17;
/* rgb */ color: rgb(124, 45, 23);
/* oklch */ color: oklch(40.9% 0.115 36.2);
Tailwind
colors: {
  custom: {
    50: '#a96955',
    500: '#7c2d17',
    950: '#000000',
  },
}
SCSS
$custom: #7c2d17;
$custom-light: #a96955;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2d17",
  "rgb": {
    "r": 124,
    "g": 45,
    "b": 23
  },
  "hsl": {
    "h": 13.069,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40887,
    "c": 0.11523,
    "h": 36.2
  },
  "luminance": 0.06224
}

Semantic roles & 50–950 ramp

primary
#7C2D17
secondary
#3E98B1
accent
#C5EC3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7C2D17

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

Preview Lab → · Contrast checker → · Palette generator →

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