#7C2A17#7C2A17

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

Color values

HEX#7C2A17
RGBrgb(124, 42, 23)
HSLhsl(11, 69%, 29%)
HSVhsv(11, 81%, 49%)
CMYKcmyk(0%, 66.1%, 81.5%, 51.4%)
CIE-LABlab(29.42, 34.58, 30.59)
CIE-LCHlch(29.42, 46.16, 41.49°)
OKLaboklab(40.47% 0.0976 0.0668)
OKLCHoklch(40.47% 0.118 34.4)
XYZxyz(9.2958, 6.0042, 1.4799)
Luminance0.0600 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2A17 #17697C
analogous
#7C1737 #7C2A17 #7C5D17
triadic
#7C2A17 #177C2A #2A177C
tetradic
#7C2A17 #377C17 #17697C #5D177C
square
#7C2A17 #377C17 #17697C #5D177C
split-complementary
#7C2A17 #177C5D #17377C
monochromatic
#1A0905 #48190D #7C2A17 #B03B21 #D95334

Accessibility & contrast

On white

9.54
#7C2A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7C2A17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2A17
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2A17#FFFFFF#000000##FFFFFF
##7C2A171.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A14
Deuteranopia (green-blind)
#564C14
Tritanopia (blue-blind)
#891426
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c2a17;
/* rgb */ color: rgb(124, 42, 23);
/* oklch */ color: oklch(40.5% 0.118 34.4);
Tailwind
colors: {
  custom: {
    50: '#a96855',
    500: '#7c2a17',
    950: '#000000',
  },
}
SCSS
$custom: #7c2a17;
$custom-light: #a96855;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2a17",
  "rgb": {
    "r": 124,
    "g": 42,
    "b": 23
  },
  "hsl": {
    "h": 11.287,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40472,
    "c": 0.11823,
    "h": 34.4
  },
  "luminance": 0.06003
}

Semantic roles & 50–950 ramp

primary
#7C2A17
secondary
#3E9BB1
accent
#CBEC3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7C2A17

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

Preview Lab → · Contrast checker → · Palette generator →

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