#7C1512#7C1512

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

Color values

HEX#7C1512
RGBrgb(124, 21, 18)
HSLhsl(2, 75%, 28%)
HSVhsv(2, 85%, 49%)
CMYKcmyk(0%, 83.1%, 85.5%, 51.4%)
CIE-LABlab(26.35, 42.71, 30.40)
CIE-LCHlch(26.35, 52.42, 35.44°)
OKLaboklab(38.16% 0.1219 0.0645)
OKLCHoklch(38.16% 0.138 27.9)
XYZxyz(8.6906, 4.8665, 1.0539)
Luminance0.0486 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1512 #12797C
analogous
#7C1244 #7C1512 #7C4A12
triadic
#7C1512 #127C15 #15127C
tetradic
#7C1512 #447C12 #12797C #4A127C
square
#7C1512 #447C12 #12797C #4A127C
split-complementary
#7C1512 #127C4A #12447C
monochromatic
#1B0504 #470C0A #7C1512 #B11E1A #E02E29

Accessibility & contrast

On white

10.64
#7C1512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1512
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1512#FFFFFF#000000##FFFFFF
##7C15121.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363010
Deuteranopia (green-blind)
#4F460C
Tritanopia (blue-blind)
#890016
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #7c1512;
/* rgb */ color: rgb(124, 21, 18);
/* oklch */ color: oklch(38.2% 0.138 27.9);
Tailwind
colors: {
  custom: {
    50: '#ab5e51',
    500: '#7c1512',
    950: '#000000',
  },
}
SCSS
$custom: #7c1512;
$custom-light: #ab5e51;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1512",
  "rgb": {
    "r": 124,
    "g": 21,
    "b": 18
  },
  "hsl": {
    "h": 1.698,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38158,
    "c": 0.13792,
    "h": 27.9
  },
  "luminance": 0.04865
}

Semantic roles & 50–950 ramp

primary
#7C1512
secondary
#38AFB2
accent
#ECF137
background
#FBF5F4
surface
#F6E9E7
border
#D0C5C3
text
#120502
muted
#817978

Preview Lab

Preview with #7C1512

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

Preview Lab → · Contrast checker → · Palette generator →

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