#7C2A18#7C2A18

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

Color values

HEX#7C2A18
RGBrgb(124, 42, 24)
HSLhsl(11, 68%, 29%)
HSVhsv(11, 81%, 49%)
CMYKcmyk(0%, 66.1%, 80.6%, 51.4%)
CIE-LABlab(29.43, 34.62, 30.03)
CIE-LCHlch(29.43, 45.83, 40.94°)
OKLaboklab(40.48% 0.0979 0.0659)
OKLCHoklch(40.48% 0.118 33.9)
XYZxyz(9.3060, 6.0083, 1.5337)
Luminance0.0601 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2A18 #186A7C
analogous
#7C1838 #7C2A18 #7C5C18
triadic
#7C2A18 #187C2A #2A187C
tetradic
#7C2A18 #387C18 #186A7C #5C187C
square
#7C2A18 #387C18 #186A7C #5C187C
split-complementary
#7C2A18 #187C5C #18387C
monochromatic
#1A0905 #49190E #7C2A18 #AF3B22 #D85336

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C2A18#FFFFFF#000000##FFFFFF
##7C2A181.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)
#413A15
Deuteranopia (green-blind)
#554C15
Tritanopia (blue-blind)
#891426
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c2a18;
/* rgb */ color: rgb(124, 42, 24);
/* oklch */ color: oklch(40.5% 0.118 33.9);
Tailwind
colors: {
  custom: {
    50: '#a96856',
    500: '#7c2a18',
    950: '#000000',
  },
}
SCSS
$custom: #7c2a18;
$custom-light: #a96856;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2a18",
  "rgb": {
    "r": 124,
    "g": 42,
    "b": 24
  },
  "hsl": {
    "h": 10.8,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40483,
    "c": 0.11799,
    "h": 33.9
  },
  "luminance": 0.06007
}

Semantic roles & 50–950 ramp

primary
#7C2A18
secondary
#3F9CB1
accent
#CBEA3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7C2A18

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

Preview Lab → · Contrast checker → · Palette generator →

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