#7C1A12#7C1A12

#7C1A12 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.6% C 0.134 H 29.4°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#7C1A12
RGBrgb(124, 26, 18)
HSLhsl(5, 75%, 28%)
HSVhsv(5, 85%, 49%)
CMYKcmyk(0%, 79%, 85.5%, 51.4%)
CIE-LABlab(26.93, 41.08, 30.95)
CIE-LCHlch(26.93, 51.43, 36.99°)
OKLaboklab(38.59% 0.1168 0.0658)
OKLCHoklch(38.59% 0.134 29.4)
XYZxyz(8.7918, 5.0690, 1.0876)
Luminance0.0507 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1A12 #12747C
analogous
#7C123F #7C1A12 #7C4F12
triadic
#7C1A12 #127C1A #1A127C
tetradic
#7C1A12 #3F7C12 #12747C #4F127C
square
#7C1A12 #3F7C12 #12747C #4F127C
split-complementary
#7C1A12 #127C4F #123F7C
monochromatic
#1B0604 #470F0A #7C1A12 #B1251A #E03629

Accessibility & contrast

On white

10.43
#7C1A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7C1A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1A12
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1A12#FFFFFF#000000##FFFFFF
##7C1A121.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393210
Deuteranopia (green-blind)
#51470D
Tritanopia (blue-blind)
#890019
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7c1a12;
/* rgb */ color: rgb(124, 26, 18);
/* oklch */ color: oklch(38.6% 0.134 29.4);
Tailwind
colors: {
  custom: {
    50: '#aa6051',
    500: '#7c1a12',
    950: '#000000',
  },
}
SCSS
$custom: #7c1a12;
$custom-light: #aa6051;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1a12",
  "rgb": {
    "r": 124,
    "g": 26,
    "b": 18
  },
  "hsl": {
    "h": 4.528,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38589,
    "c": 0.13403,
    "h": 29.4
  },
  "luminance": 0.05068
}

Semantic roles & 50–950 ramp

primary
#7C1A12
secondary
#38A9B2
accent
#E3F137
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7C1A12

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

Preview Lab → · Contrast checker → · Palette generator →

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