#7C2E1B#7C2E1B

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

Color values

HEX#7C2E1B
RGBrgb(124, 46, 27)
HSLhsl(12, 64%, 30%)
HSVhsv(12, 78%, 49%)
CMYKcmyk(0%, 62.9%, 78.2%, 51.4%)
CIE-LABlab(30.20, 32.79, 29.12)
CIE-LCHlch(30.20, 43.85, 41.62°)
OKLaboklab(41.08% 0.0928 0.0648)
OKLCHoklch(41.08% 0.113 34.9)
XYZxyz(9.4880, 6.3195, 1.7569)
Luminance0.0632 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2E1B #1B697C
analogous
#7C1B38 #7C2E1B #7C5F1B
triadic
#7C2E1B #1B7C2E #2E1B7C
tetradic
#7C2E1B #387C1B #1B697C #5F1B7C
square
#7C2E1B #387C1B #1B697C #5F1B7C
split-complementary
#7C2E1B #1B7C5F #1B387C
monochromatic
#190905 #4A1B10 #7C2E1B #AE4126 #D55A3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C2E1B#FFFFFF#000000##FFFFFF
##7C2E1B1.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)
#443C19
Deuteranopia (green-blind)
#574E18
Tritanopia (blue-blind)
#891B2A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7c2e1b;
/* rgb */ color: rgb(124, 46, 27);
/* oklch */ color: oklch(41.1% 0.113 34.9);
Tailwind
colors: {
  custom: {
    50: '#a86a58',
    500: '#7c2e1b',
    950: '#000000',
  },
}
SCSS
$custom: #7c2e1b;
$custom-light: #a86a58;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2e1b",
  "rgb": {
    "r": 124,
    "g": 46,
    "b": 27
  },
  "hsl": {
    "h": 11.753,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41075,
    "c": 0.11318,
    "h": 34.9
  },
  "luminance": 0.06318
}

Semantic roles & 50–950 ramp

primary
#7C2E1B
secondary
#439BB0
accent
#C7E741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7C2E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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