#7C2F18#7C2F18

#7C2F18 is a dark, moderate red. Relative luminance 0.064; OKLCH L 41.2% C 0.113 H 37.0°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#7C2F18
RGBrgb(124, 47, 24)
HSLhsl(14, 68%, 29%)
HSVhsv(14, 81%, 49%)
CMYKcmyk(0%, 62.1%, 80.6%, 51.4%)
CIE-LABlab(30.36, 32.15, 30.99)
CIE-LCHlch(30.36, 44.65, 43.95°)
OKLaboklab(41.19% 0.0903 0.068)
OKLCHoklch(41.19% 0.113 37)
XYZxyz(9.4946, 6.3854, 1.5965)
Luminance0.0638 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2F18 #18657C
analogous
#7C1833 #7C2F18 #7C6118
triadic
#7C2F18 #187C2F #2F187C
tetradic
#7C2F18 #337C18 #18657C #61187C
square
#7C2F18 #337C18 #18657C #61187C
split-complementary
#7C2F18 #187C61 #18337C
monochromatic
#1A0A05 #491C0E #7C2F18 #AF4222 #D85B36

Accessibility & contrast

On white

9.22
#7C2F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7C2F18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2F18
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2F18#FFFFFF#000000##FFFFFF
##7C2F181.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D15
Deuteranopia (green-blind)
#574E15
Tritanopia (blue-blind)
#891D2A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7c2f18;
/* rgb */ color: rgb(124, 47, 24);
/* oklch */ color: oklch(41.2% 0.113 37.0);
Tailwind
colors: {
  custom: {
    50: '#a96b56',
    500: '#7c2f18',
    950: '#000000',
  },
}
SCSS
$custom: #7c2f18;
$custom-light: #a96b56;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2f18",
  "rgb": {
    "r": 124,
    "g": 47,
    "b": 24
  },
  "hsl": {
    "h": 13.8,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41186,
    "c": 0.11298,
    "h": 37
  },
  "luminance": 0.06384
}

Semantic roles & 50–950 ramp

primary
#7C2F18
secondary
#3F97B1
accent
#C3EA3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7C2F18

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

Preview Lab → · Contrast checker → · Palette generator →

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