#7C2118#7C2118

#7C2118 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.4% C 0.127 H 29.5°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#7C2118
RGBrgb(124, 33, 24)
HSLhsl(5, 68%, 29%)
HSVhsv(5, 81%, 49%)
CMYKcmyk(0%, 73.4%, 80.6%, 51.4%)
CIE-LABlab(27.95, 38.63, 28.50)
CIE-LCHlch(27.95, 48.00, 36.42°)
OKLaboklab(39.37% 0.1104 0.0626)
OKLCHoklch(39.37% 0.127 29.5)
XYZxyz(9.0219, 5.4401, 1.4390)
Luminance0.0544 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2118 #18737C
analogous
#7C1841 #7C2118 #7C5318
triadic
#7C2118 #187C21 #21187C
tetradic
#7C2118 #417C18 #18737C #53187C
square
#7C2118 #417C18 #18737C #53187C
split-complementary
#7C2118 #187C53 #18417C
monochromatic
#1A0705 #49130E #7C2118 #AF2F22 #D84536

Accessibility & contrast

On white

10.06
#7C2118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7C2118 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2118
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2118#FFFFFF#000000##FFFFFF
##7C21181.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3516
Deuteranopia (green-blind)
#524914
Tritanopia (blue-blind)
#890020
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7c2118;
/* rgb */ color: rgb(124, 33, 24);
/* oklch */ color: oklch(39.4% 0.127 29.5);
Tailwind
colors: {
  custom: {
    50: '#a96355',
    500: '#7c2118',
    950: '#000000',
  },
}
SCSS
$custom: #7c2118;
$custom-light: #a96355;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2118",
  "rgb": {
    "r": 124,
    "g": 33,
    "b": 24
  },
  "hsl": {
    "h": 5.4,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39372,
    "c": 0.12686,
    "h": 29.5
  },
  "luminance": 0.05439
}

Semantic roles & 50–950 ramp

primary
#7C2118
secondary
#3FA6B1
accent
#DBEA3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7C2118

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

Preview Lab → · Contrast checker → · Palette generator →

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