#7C2812#7C2812

#7C2812 is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.2% C 0.121 H 35.3°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#7C2812
RGBrgb(124, 40, 18)
HSLhsl(12, 75%, 28%)
HSVhsv(12, 85%, 49%)
CMYKcmyk(0%, 67.7%, 85.5%, 51.4%)
CIE-LABlab(29.02, 35.34, 32.91)
CIE-LCHlch(29.02, 48.29, 42.96°)
OKLaboklab(40.16% 0.099 0.0701)
OKLCHoklch(40.16% 0.121 35.3)
XYZxyz(9.1812, 5.8477, 1.2174)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2812 #12667C
analogous
#7C1231 #7C2812 #7C5D12
triadic
#7C2812 #127C28 #28127C
tetradic
#7C2812 #317C12 #12667C #5D127C
square
#7C2812 #317C12 #12667C #5D127C
split-complementary
#7C2812 #127C5D #12317C
monochromatic
#1B0904 #47170A #7C2812 #B1391A #E04F29

Accessibility & contrast

On white

9.68
#7C2812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7C2812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2812
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2812#FFFFFF#000000##FFFFFF
##7C28121.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40390E
Deuteranopia (green-blind)
#554B0E
Tritanopia (blue-blind)
#890F24
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c2812;
/* rgb */ color: rgb(124, 40, 18);
/* oklch */ color: oklch(40.2% 0.121 35.3);
Tailwind
colors: {
  custom: {
    50: '#aa6652',
    500: '#7c2812',
    950: '#000000',
  },
}
SCSS
$custom: #7c2812;
$custom-light: #aa6652;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2812",
  "rgb": {
    "r": 124,
    "g": 40,
    "b": 18
  },
  "hsl": {
    "h": 12.453,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40158,
    "c": 0.12129,
    "h": 35.3
  },
  "luminance": 0.05846
}

Semantic roles & 50–950 ramp

primary
#7C2812
secondary
#3899B2
accent
#CBF137
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110602
muted
#807A78

Preview Lab

Preview with #7C2812

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

Preview Lab → · Contrast checker → · Palette generator →

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