#7C2B17#7C2B17

#7C2B17 is a dark, moderate red. Relative luminance 0.061; OKLCH L 40.6% C 0.117 H 35.0°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#7C2B17
RGBrgb(124, 43, 23)
HSLhsl(12, 69%, 29%)
HSVhsv(12, 81%, 49%)
CMYKcmyk(0%, 65.3%, 81.5%, 51.4%)
CIE-LABlab(29.60, 34.10, 30.77)
CIE-LCHlch(29.60, 45.93, 42.06°)
OKLaboklab(40.61% 0.0961 0.0672)
OKLCHoklch(40.61% 0.117 35)
XYZxyz(9.3317, 6.0760, 1.4919)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2B17 #17687C
analogous
#7C1736 #7C2B17 #7C5E17
triadic
#7C2B17 #177C2B #2B177C
tetradic
#7C2B17 #367C17 #17687C #5E177C
square
#7C2B17 #367C17 #17687C #5E177C
split-complementary
#7C2B17 #177C5E #17367C
monochromatic
#1A0905 #48190D #7C2B17 #B03D21 #D95534

Accessibility & contrast

On white

9.48
#7C2B17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7C2B17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2B17
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2B17#FFFFFF#000000##FFFFFF
##7C2B171.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A14
Deuteranopia (green-blind)
#564C14
Tritanopia (blue-blind)
#891627
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7c2b17;
/* rgb */ color: rgb(124, 43, 23);
/* oklch */ color: oklch(40.6% 0.117 35.0);
Tailwind
colors: {
  custom: {
    50: '#a96855',
    500: '#7c2b17',
    950: '#000000',
  },
}
SCSS
$custom: #7c2b17;
$custom-light: #a96855;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2b17",
  "rgb": {
    "r": 124,
    "g": 43,
    "b": 23
  },
  "hsl": {
    "h": 11.881,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40608,
    "c": 0.11722,
    "h": 35
  },
  "luminance": 0.06075
}

Semantic roles & 50–950 ramp

primary
#7C2B17
secondary
#3E9AB1
accent
#C9EC3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7C2B17

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

Preview Lab → · Contrast checker → · Palette generator →

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