#7C2012#7C2012

#7C2012 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.2% C 0.129 H 31.6°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#7C2012
RGBrgb(124, 32, 18)
HSLhsl(8, 75%, 28%)
HSVhsv(8, 85%, 49%)
CMYKcmyk(0%, 74.2%, 85.5%, 51.4%)
CIE-LABlab(27.75, 38.82, 31.71)
CIE-LCHlch(27.75, 50.13, 39.24°)
OKLaboklab(39.2% 0.1098 0.0675)
OKLCHoklch(39.2% 0.129 31.6)
XYZxyz(8.9389, 5.3632, 1.1367)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2012 #126E7C
analogous
#7C1239 #7C2012 #7C5512
triadic
#7C2012 #127C20 #20127C
tetradic
#7C2012 #397C12 #126E7C #55127C
square
#7C2012 #397C12 #126E7C #55127C
split-complementary
#7C2012 #127C55 #12397C
monochromatic
#1B0704 #47120A #7C2012 #B12E1A #E04129

Accessibility & contrast

On white

10.13
#7C2012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7C2012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2012
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2012#FFFFFF#000000##FFFFFF
##7C20121.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C350F
Deuteranopia (green-blind)
#52490D
Tritanopia (blue-blind)
#89001E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7c2012;
/* rgb */ color: rgb(124, 32, 18);
/* oklch */ color: oklch(39.2% 0.129 31.6);
Tailwind
colors: {
  custom: {
    50: '#aa6251',
    500: '#7c2012',
    950: '#000000',
  },
}
SCSS
$custom: #7c2012;
$custom-light: #aa6251;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2012",
  "rgb": {
    "r": 124,
    "g": 32,
    "b": 18
  },
  "hsl": {
    "h": 7.925,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39197,
    "c": 0.12883,
    "h": 31.6
  },
  "luminance": 0.05362
}

Semantic roles & 50–950 ramp

primary
#7C2012
secondary
#38A2B2
accent
#D9F137
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110502
muted
#807A78

Preview Lab

Preview with #7C2012

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

Preview Lab → · Contrast checker → · Palette generator →

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