#7C2E1A#7C2E1A

#7C2E1A is a dark, moderate red. Relative luminance 0.063; OKLCH L 41.1% C 0.113 H 35.4°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#7C2E1A
RGBrgb(124, 46, 26)
HSLhsl(12, 65%, 29%)
HSVhsv(12, 79%, 49%)
CMYKcmyk(0%, 62.9%, 79%, 51.4%)
CIE-LABlab(30.19, 32.74, 29.69)
CIE-LCHlch(30.19, 44.19, 42.20°)
OKLaboklab(41.06% 0.0925 0.0657)
OKLCHoklch(41.06% 0.113 35.4)
XYZxyz(9.4766, 6.3150, 1.6970)
Luminance0.0631 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2E1A #1A687C
analogous
#7C1A37 #7C2E1A #7C5F1A
triadic
#7C2E1A #1A7C2E #2E1A7C
tetradic
#7C2E1A #377C1A #1A687C #5F1A7C
square
#7C2E1A #377C1A #1A687C #5F1A7C
split-complementary
#7C2E1A #1A7C5F #1A377C
monochromatic
#190905 #491B0F #7C2E1A #AF4125 #D65A3B

Accessibility & contrast

On white

9.28
#7C2E1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7C2E1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2E1A
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2E1A#FFFFFF#000000##FFFFFF
##7C2E1A1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C17
Deuteranopia (green-blind)
#574E17
Tritanopia (blue-blind)
#891B2A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7c2e1a;
/* rgb */ color: rgb(124, 46, 26);
/* oklch */ color: oklch(41.1% 0.113 35.4);
Tailwind
colors: {
  custom: {
    50: '#a96a58',
    500: '#7c2e1a',
    950: '#000000',
  },
}
SCSS
$custom: #7c2e1a;
$custom-light: #a96a58;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2e1a",
  "rgb": {
    "r": 124,
    "g": 46,
    "b": 26
  },
  "hsl": {
    "h": 12.245,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41063,
    "c": 0.11345,
    "h": 35.4
  },
  "luminance": 0.06314
}

Semantic roles & 50–950 ramp

primary
#7C2E1A
secondary
#429AB0
accent
#C6E840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7C2E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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