#7C1417#7C1417

#7C1417 is a dark, vivid red. Relative luminance 0.048; OKLCH L 38.1% C 0.138 H 25.7°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#7C1417
RGBrgb(124, 20, 23)
HSLhsl(358, 72%, 28%)
HSVhsv(358, 84%, 49%)
CMYKcmyk(0%, 83.9%, 81.5%, 51.4%)
CIE-LABlab(26.30, 43.17, 27.37)
CIE-LCHlch(26.30, 51.11, 32.37°)
OKLaboklab(38.14% 0.1244 0.0598)
OKLCHoklch(38.14% 0.138 25.7)
XYZxyz(8.7181, 4.8487, 1.2873)
Luminance0.0485 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1417 #147C79
analogous
#7C144B #7C1417 #7C4514
triadic
#7C1417 #177C14 #14177C
tetradic
#7C1417 #4B7C14 #147C79 #45147C
square
#7C1417 #4B7C14 #147C79 #45147C
split-complementary
#7C1417 #147C45 #144B7C
monochromatic
#1A0405 #470B0D #7C1417 #B11D21 #DD2D32

Accessibility & contrast

On white

10.66
#7C1417 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#7C1417 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1417
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1417#FFFFFF#000000##FFFFFF
##7C14171.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363016
Deuteranopia (green-blind)
#4F4612
Tritanopia (blue-blind)
#890017
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #7c1417;
/* rgb */ color: rgb(124, 20, 23);
/* oklch */ color: oklch(38.1% 0.138 25.7);
Tailwind
colors: {
  custom: {
    50: '#aa5d54',
    500: '#7c1417',
    950: '#000000',
  },
}
SCSS
$custom: #7c1417;
$custom-light: #aa5d54;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1417",
  "rgb": {
    "r": 124,
    "g": 20,
    "b": 23
  },
  "hsl": {
    "h": 358.269,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38136,
    "c": 0.13804,
    "h": 25.7
  },
  "luminance": 0.04847
}

Semantic roles & 50–950 ramp

primary
#7C1417
secondary
#3AB2AE
accent
#EFEA39
background
#FBF5F4
surface
#F6E9E7
border
#D0C5C3
text
#120502
muted
#817978

Preview Lab

Preview with #7C1417

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

Preview Lab → · Contrast checker → · Palette generator →

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