#7C2E17#7C2E17

#7C2E17 is a dark, moderate red. Relative luminance 0.063; OKLCH L 41.0% C 0.114 H 36.8°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#7C2E17
RGBrgb(124, 46, 23)
HSLhsl(14, 69%, 29%)
HSVhsv(14, 81%, 49%)
CMYKcmyk(0%, 62.9%, 81.5%, 51.4%)
CIE-LABlab(30.16, 32.61, 31.33)
CIE-LCHlch(30.16, 45.23, 43.85°)
OKLaboklab(41.03% 0.0915 0.0684)
OKLCHoklch(41.03% 0.114 36.8)
XYZxyz(9.4448, 6.3023, 1.5296)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2E17 #17657C
analogous
#7C1733 #7C2E17 #7C6117
triadic
#7C2E17 #177C2E #2E177C
tetradic
#7C2E17 #337C17 #17657C #61177C
square
#7C2E17 #337C17 #17657C #61177C
split-complementary
#7C2E17 #177C61 #17337C
monochromatic
#1A0A05 #481B0D #7C2E17 #B04121 #D95A34

Accessibility & contrast

On white

9.29
#7C2E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7C2E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2E17
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2E17#FFFFFF#000000##FFFFFF
##7C2E171.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C14
Deuteranopia (green-blind)
#574E14
Tritanopia (blue-blind)
#891B29
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7c2e17;
/* rgb */ color: rgb(124, 46, 23);
/* oklch */ color: oklch(41.0% 0.114 36.8);
Tailwind
colors: {
  custom: {
    50: '#a96a56',
    500: '#7c2e17',
    950: '#000000',
  },
}
SCSS
$custom: #7c2e17;
$custom-light: #a96a56;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2e17",
  "rgb": {
    "r": 124,
    "g": 46,
    "b": 23
  },
  "hsl": {
    "h": 13.663,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.4103,
    "c": 0.11424,
    "h": 36.8
  },
  "luminance": 0.06301
}

Semantic roles & 50–950 ramp

primary
#7C2E17
secondary
#3E97B1
accent
#C4EC3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7C2E17

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

Preview Lab → · Contrast checker → · Palette generator →

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