#7C1712#7C1712

#7C1712 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.3% C 0.136 H 28.5°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#7C1712
RGBrgb(124, 23, 18)
HSLhsl(3, 75%, 28%)
HSVhsv(3, 85%, 49%)
CMYKcmyk(0%, 81.5%, 85.5%, 51.4%)
CIE-LABlab(26.57, 42.09, 30.61)
CIE-LCHlch(26.57, 52.04, 36.03°)
OKLaboklab(38.32% 0.1199 0.065)
OKLCHoklch(38.32% 0.136 28.5)
XYZxyz(8.7288, 4.9430, 1.0666)
Luminance0.0494 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1712 #12777C
analogous
#7C1242 #7C1712 #7C4C12
triadic
#7C1712 #127C17 #17127C
tetradic
#7C1712 #427C12 #12777C #4C127C
square
#7C1712 #427C12 #12777C #4C127C
split-complementary
#7C1712 #127C4C #12427C
monochromatic
#1B0504 #470D0A #7C1712 #B1211A #E03129

Accessibility & contrast

On white

10.56
#7C1712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#7C1712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1712
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1712#FFFFFF#000000##FFFFFF
##7C17121.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373110
Deuteranopia (green-blind)
#50470C
Tritanopia (blue-blind)
#890017
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7c1712;
/* rgb */ color: rgb(124, 23, 18);
/* oklch */ color: oklch(38.3% 0.136 28.5);
Tailwind
colors: {
  custom: {
    50: '#aa5e51',
    500: '#7c1712',
    950: '#000000',
  },
}
SCSS
$custom: #7c1712;
$custom-light: #aa5e51;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1712",
  "rgb": {
    "r": 124,
    "g": 23,
    "b": 18
  },
  "hsl": {
    "h": 2.83,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38322,
    "c": 0.13642,
    "h": 28.5
  },
  "luminance": 0.04942
}

Semantic roles & 50–950 ramp

primary
#7C1712
secondary
#38ACB2
accent
#E8F137
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7C1712

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

Preview Lab → · Contrast checker → · Palette generator →

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