#7C2418#7C2418

#7C2418 is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.7% C 0.124 H 30.9°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#7C2418
RGBrgb(124, 36, 24)
HSLhsl(7, 68%, 29%)
HSVhsv(7, 81%, 49%)
CMYKcmyk(0%, 71%, 80.6%, 51.4%)
CIE-LABlab(28.42, 37.36, 28.98)
CIE-LCHlch(28.42, 47.28, 37.80°)
OKLaboklab(39.72% 0.1064 0.0636)
OKLCHoklch(39.72% 0.124 30.9)
XYZxyz(9.1090, 5.6141, 1.4680)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2418 #18707C
analogous
#7C183E #7C2418 #7C5618
triadic
#7C2418 #187C24 #24187C
tetradic
#7C2418 #3E7C18 #18707C #56187C
square
#7C2418 #3E7C18 #18707C #56187C
split-complementary
#7C2418 #187C56 #183E7C
monochromatic
#1A0705 #49150E #7C2418 #AF3322 #D84A36

Accessibility & contrast

On white

9.89
#7C2418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7C2418 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2418
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2418#FFFFFF#000000##FFFFFF
##7C24181.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3716
Deuteranopia (green-blind)
#534A14
Tritanopia (blue-blind)
#890622
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c2418;
/* rgb */ color: rgb(124, 36, 24);
/* oklch */ color: oklch(39.7% 0.124 30.9);
Tailwind
colors: {
  custom: {
    50: '#a96456',
    500: '#7c2418',
    950: '#000000',
  },
}
SCSS
$custom: #7c2418;
$custom-light: #a96456;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2418",
  "rgb": {
    "r": 124,
    "g": 36,
    "b": 24
  },
  "hsl": {
    "h": 7.2,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3972,
    "c": 0.12397,
    "h": 30.9
  },
  "luminance": 0.05613
}

Semantic roles & 50–950 ramp

primary
#7C2418
secondary
#3FA3B1
accent
#D6EA3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7C2418

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

Preview Lab → · Contrast checker → · Palette generator →

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