#7C2712#7C2712

#7C2712 is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.0% C 0.122 H 34.8°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#7C2712
RGBrgb(124, 39, 18)
HSLhsl(12, 75%, 28%)
HSVhsv(12, 85%, 49%)
CMYKcmyk(0%, 68.5%, 85.5%, 51.4%)
CIE-LABlab(28.85, 35.80, 32.75)
CIE-LCHlch(28.85, 48.52, 42.45°)
OKLaboklab(40.03% 0.1004 0.0698)
OKLCHoklch(40.03% 0.122 34.8)
XYZxyz(9.1479, 5.7812, 1.2063)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2712 #12677C
analogous
#7C1232 #7C2712 #7C5C12
triadic
#7C2712 #127C27 #27127C
tetradic
#7C2712 #327C12 #12677C #5C127C
square
#7C2712 #327C12 #12677C #5C127C
split-complementary
#7C2712 #127C5C #12327C
monochromatic
#1B0804 #47160A #7C2712 #B1381A #E04D29

Accessibility & contrast

On white

9.74
#7C2712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7C2712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2712
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2712#FFFFFF#000000##FFFFFF
##7C27121.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40380F
Deuteranopia (green-blind)
#554B0E
Tritanopia (blue-blind)
#890D23
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c2712;
/* rgb */ color: rgb(124, 39, 18);
/* oklch */ color: oklch(40.0% 0.122 34.8);
Tailwind
colors: {
  custom: {
    50: '#aa6652',
    500: '#7c2712',
    950: '#000000',
  },
}
SCSS
$custom: #7c2712;
$custom-light: #aa6652;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2712",
  "rgb": {
    "r": 124,
    "g": 39,
    "b": 18
  },
  "hsl": {
    "h": 11.887,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40029,
    "c": 0.12225,
    "h": 34.8
  },
  "luminance": 0.0578
}

Semantic roles & 50–950 ramp

primary
#7C2712
secondary
#389AB2
accent
#CCF137
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110602
muted
#807A78

Preview Lab

Preview with #7C2712

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

Preview Lab → · Contrast checker → · Palette generator →

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