#7C1812#7C1812

#7C1812 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.4% C 0.136 H 28.8°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#7C1812
RGBrgb(124, 24, 18)
HSLhsl(3, 75%, 28%)
HSVhsv(3, 85%, 49%)
CMYKcmyk(0%, 80.6%, 85.5%, 51.4%)
CIE-LABlab(26.69, 41.76, 30.71)
CIE-LCHlch(26.69, 51.84, 36.33°)
OKLaboklab(38.41% 0.1189 0.0653)
OKLCHoklch(38.41% 0.136 28.8)
XYZxyz(8.7491, 4.9834, 1.0734)
Luminance0.0498 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1812 #12767C
analogous
#7C1241 #7C1812 #7C4D12
triadic
#7C1812 #127C18 #18127C
tetradic
#7C1812 #417C12 #12767C #4D127C
square
#7C1812 #417C12 #12767C #4D127C
split-complementary
#7C1812 #127C4D #12417C
monochromatic
#1B0504 #470E0A #7C1812 #B1221A #E03329

Accessibility & contrast

On white

10.52
#7C1812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#7C1812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1812
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1812#FFFFFF#000000##FFFFFF
##7C18121.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383110
Deuteranopia (green-blind)
#50470D
Tritanopia (blue-blind)
#890018
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7c1812;
/* rgb */ color: rgb(124, 24, 18);
/* oklch */ color: oklch(38.4% 0.136 28.8);
Tailwind
colors: {
  custom: {
    50: '#aa5f51',
    500: '#7c1812',
    950: '#000000',
  },
}
SCSS
$custom: #7c1812;
$custom-light: #aa5f51;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1812",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 18
  },
  "hsl": {
    "h": 3.396,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38408,
    "c": 0.13564,
    "h": 28.8
  },
  "luminance": 0.04982
}

Semantic roles & 50–950 ramp

primary
#7C1812
secondary
#38ABB2
accent
#E7F137
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7C1812

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

Preview Lab → · Contrast checker → · Palette generator →

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