#7C2C18#7C2C18

#7C2C18 is a dark, moderate red. Relative luminance 0.062; OKLCH L 40.8% C 0.116 H 35.1°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#7C2C18
RGBrgb(124, 44, 24)
HSLhsl(12, 68%, 29%)
HSVhsv(12, 81%, 49%)
CMYKcmyk(0%, 64.5%, 80.6%, 51.4%)
CIE-LABlab(29.80, 33.65, 30.41)
CIE-LCHlch(29.80, 45.35, 42.10°)
OKLaboklab(40.76% 0.0949 0.0667)
OKLCHoklch(40.76% 0.116 35.1)
XYZxyz(9.3788, 6.1537, 1.5579)
Luminance0.0615 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2C18 #18687C
analogous
#7C1836 #7C2C18 #7C5E18
triadic
#7C2C18 #187C2C #2C187C
tetradic
#7C2C18 #367C18 #18687C #5E187C
square
#7C2C18 #367C18 #18687C #5E187C
split-complementary
#7C2C18 #187C5E #18367C
monochromatic
#1A0905 #491A0E #7C2C18 #AF3E22 #D85736

Accessibility & contrast

On white

9.42
#7C2C18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7C2C18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2C18
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2C18#FFFFFF#000000##FFFFFF
##7C2C181.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B15
Deuteranopia (green-blind)
#564D15
Tritanopia (blue-blind)
#891828
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7c2c18;
/* rgb */ color: rgb(124, 44, 24);
/* oklch */ color: oklch(40.8% 0.116 35.1);
Tailwind
colors: {
  custom: {
    50: '#a96956',
    500: '#7c2c18',
    950: '#000000',
  },
}
SCSS
$custom: #7c2c18;
$custom-light: #a96956;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2c18",
  "rgb": {
    "r": 124,
    "g": 44,
    "b": 24
  },
  "hsl": {
    "h": 12,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40757,
    "c": 0.11598,
    "h": 35.1
  },
  "luminance": 0.06152
}

Semantic roles & 50–950 ramp

primary
#7C2C18
secondary
#3F9AB1
accent
#C8EA3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7C2C18

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

Preview Lab → · Contrast checker → · Palette generator →

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