#7C2D1A#7C2D1A

#7C2D1A is a dark, moderate red. Relative luminance 0.062; OKLCH L 40.9% C 0.114 H 34.8°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#7C2D1A
RGBrgb(124, 45, 26)
HSLhsl(12, 65%, 29%)
HSVhsv(12, 79%, 49%)
CMYKcmyk(0%, 63.7%, 79%, 51.4%)
CIE-LABlab(30.00, 33.24, 29.49)
CIE-LCHlch(30.00, 44.43, 41.58°)
OKLaboklab(40.92% 0.094 0.0653)
OKLCHoklch(40.92% 0.114 34.8)
XYZxyz(9.4380, 6.2378, 1.6841)
Luminance0.0624 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2D1A #1A697C
analogous
#7C1A38 #7C2D1A #7C5E1A
triadic
#7C2D1A #1A7C2D #2D1A7C
tetradic
#7C2D1A #387C1A #1A697C #5E1A7C
square
#7C2D1A #387C1A #1A697C #5E1A7C
split-complementary
#7C2D1A #1A7C5E #1A387C
monochromatic
#190905 #491B0F #7C2D1A #AF3F25 #D6593B

Accessibility & contrast

On white

9.34
#7C2D1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7C2D1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2D1A
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2D1A#FFFFFF#000000##FFFFFF
##7C2D1A1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C17
Deuteranopia (green-blind)
#574D17
Tritanopia (blue-blind)
#891A29
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7c2d1a;
/* rgb */ color: rgb(124, 45, 26);
/* oklch */ color: oklch(40.9% 0.114 34.8);
Tailwind
colors: {
  custom: {
    50: '#a96958',
    500: '#7c2d1a',
    950: '#000000',
  },
}
SCSS
$custom: #7c2d1a;
$custom-light: #a96958;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2d1a",
  "rgb": {
    "r": 124,
    "g": 45,
    "b": 26
  },
  "hsl": {
    "h": 11.633,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40921,
    "c": 0.11446,
    "h": 34.8
  },
  "luminance": 0.06236
}

Semantic roles & 50–950 ramp

primary
#7C2D1A
secondary
#429BB0
accent
#C8E840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7C2D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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