#7C1517#7C1517

#7C1517 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.2% C 0.137 H 25.9°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#7C1517
RGBrgb(124, 21, 23)
HSLhsl(359, 71%, 28%)
HSVhsv(359, 83%, 49%)
CMYKcmyk(0%, 83.1%, 81.5%, 51.4%)
CIE-LABlab(26.40, 42.87, 27.48)
CIE-LCHlch(26.40, 50.92, 32.66°)
OKLaboklab(38.21% 0.1235 0.06)
OKLCHoklch(38.21% 0.137 25.9)
XYZxyz(8.7361, 4.8847, 1.2933)
Luminance0.0488 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1517 #157C7A
analogous
#7C154A #7C1517 #7C4615
triadic
#7C1517 #177C15 #15177C
tetradic
#7C1517 #4A7C15 #157C7A #46157C
square
#7C1517 #4A7C15 #157C7A #46157C
split-complementary
#7C1517 #157C46 #154A7C
monochromatic
#1A0405 #480C0D #7C1517 #B01E21 #DC3033

Accessibility & contrast

On white

10.62
#7C1517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#7C1517 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1517
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1517#FFFFFF#000000##FFFFFF
##7C15171.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.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: #7c1517;
/* rgb */ color: rgb(124, 21, 23);
/* oklch */ color: oklch(38.2% 0.137 25.9);
Tailwind
colors: {
  custom: {
    50: '#aa5e54',
    500: '#7c1517',
    950: '#000000',
  },
}
SCSS
$custom: #7c1517;
$custom-light: #aa5e54;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1517",
  "rgb": {
    "r": 124,
    "g": 21,
    "b": 23
  },
  "hsl": {
    "h": 358.835,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38214,
    "c": 0.1373,
    "h": 25.9
  },
  "luminance": 0.04883
}

Semantic roles & 50–950 ramp

primary
#7C1517
secondary
#3CB1AF
accent
#EEEA3A
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#110503
muted
#807978

Preview Lab

Preview with #7C1517

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

Preview Lab → · Contrast checker → · Palette generator →

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