#7C2A1A#7C2A1A

#7C2A1A is a dark, moderate red. Relative luminance 0.060; OKLCH L 40.5% C 0.118 H 33.0°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#7C2A1A
RGBrgb(124, 42, 26)
HSLhsl(10, 65%, 29%)
HSVhsv(10, 79%, 49%)
CMYKcmyk(0%, 66.1%, 79%, 51.4%)
CIE-LABlab(29.46, 34.70, 28.91)
CIE-LCHlch(29.46, 45.16, 39.79°)
OKLaboklab(40.51% 0.0986 0.064)
OKLCHoklch(40.51% 0.118 33)
XYZxyz(9.3276, 6.0169, 1.6473)
Luminance0.0602 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2A1A #1A6C7C
analogous
#7C1A3B #7C2A1A #7C5B1A
triadic
#7C2A1A #1A7C2A #2A1A7C
tetradic
#7C2A1A #3B7C1A #1A6C7C #5B1A7C
square
#7C2A1A #3B7C1A #1A6C7C #5B1A7C
split-complementary
#7C2A1A #1A7C5B #1A3B7C
monochromatic
#190905 #49190F #7C2A1A #AF3B25 #D6543B

Accessibility & contrast

On white

9.53
#7C2A1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C2A1A
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2A1A#FFFFFF#000000##FFFFFF
##7C2A1A1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A18
Deuteranopia (green-blind)
#554C17
Tritanopia (blue-blind)
#891527
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c2a1a;
/* rgb */ color: rgb(124, 42, 26);
/* oklch */ color: oklch(40.5% 0.118 33.0);
Tailwind
colors: {
  custom: {
    50: '#a96857',
    500: '#7c2a1a',
    950: '#000000',
  },
}
SCSS
$custom: #7c2a1a;
$custom-light: #a96857;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2a1a",
  "rgb": {
    "r": 124,
    "g": 42,
    "b": 26
  },
  "hsl": {
    "h": 9.796,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40506,
    "c": 0.11752,
    "h": 33
  },
  "luminance": 0.06016
}

Semantic roles & 50–950 ramp

primary
#7C2A1A
secondary
#429EB0
accent
#CDE840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7C2A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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