#7C2A12#7C2A12

#7C2A12 is a dark, moderate red. Relative luminance 0.060; OKLCH L 40.4% C 0.119 H 36.4°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#7C2A12
RGBrgb(124, 42, 18)
HSLhsl(14, 75%, 28%)
HSVhsv(14, 85%, 49%)
CMYKcmyk(0%, 66.1%, 85.5%, 51.4%)
CIE-LABlab(29.38, 34.40, 33.23)
CIE-LCHlch(29.38, 47.83, 44.01°)
OKLaboklab(40.42% 0.0961 0.0709)
OKLCHoklch(40.42% 0.119 36.4)
XYZxyz(9.2504, 5.9860, 1.2405)
Luminance0.0599 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2A12 #12647C
analogous
#7C122F #7C2A12 #7C5F12
triadic
#7C2A12 #127C2A #2A127C
tetradic
#7C2A12 #2F7C12 #12647C #5F127C
square
#7C2A12 #2F7C12 #12647C #5F127C
split-complementary
#7C2A12 #127C5F #122F7C
monochromatic
#1B0904 #47180A #7C2A12 #B13C1A #E05229

Accessibility & contrast

On white

9.56
#7C2A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7C2A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2A12
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2A12#FFFFFF#000000##FFFFFF
##7C2A121.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A0E
Deuteranopia (green-blind)
#564C0E
Tritanopia (blue-blind)
#891325
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c2a12;
/* rgb */ color: rgb(124, 42, 18);
/* oklch */ color: oklch(40.4% 0.119 36.4);
Tailwind
colors: {
  custom: {
    50: '#a96852',
    500: '#7c2a12',
    950: '#000000',
  },
}
SCSS
$custom: #7c2a12;
$custom-light: #a96852;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2a12",
  "rgb": {
    "r": 124,
    "g": 42,
    "b": 18
  },
  "hsl": {
    "h": 13.585,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40423,
    "c": 0.11936,
    "h": 36.4
  },
  "luminance": 0.05985
}

Semantic roles & 50–950 ramp

primary
#7C2A12
secondary
#3896B2
accent
#C7F137
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110602
muted
#807A78

Preview Lab

Preview with #7C2A12

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

Preview Lab → · Contrast checker → · Palette generator →

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