#7E2C1C#7E2C1C

#7E2C1C is a dark, moderate red. Relative luminance 0.063; OKLCH L 41.2% C 0.117 H 33.0°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#7E2C1C
RGBrgb(126, 44, 28)
HSLhsl(10, 64%, 30%)
HSVhsv(10, 78%, 49%)
CMYKcmyk(0%, 65.1%, 77.8%, 50.6%)
CIE-LABlab(30.21, 34.60, 28.66)
CIE-LCHlch(30.21, 44.92, 39.64°)
OKLaboklab(41.15% 0.0984 0.0639)
OKLCHoklch(41.15% 0.117 33)
XYZxyz(9.7155, 6.3222, 1.8071)
Luminance0.0632 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2C1C #1C6E7E
analogous
#7E1C3D #7E2C1C #7E5D1C
triadic
#7E2C1C #1C7E2C #2C1C7E
tetradic
#7E2C1C #3D7E1C #1C6E7E #5D1C7E
square
#7E2C1C #3D7E1C #1C6E7E #5D1C7E
split-complementary
#7E2C1C #1C7E5D #1C3D7E
monochromatic
#1A0906 #4C1B11 #7E2C1C #B03D27 #D55840

Accessibility & contrast

On white

9.27
#7E2C1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2C1C
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2C1C#FFFFFF#000000##FFFFFF
##7E2C1C1.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C1A
Deuteranopia (green-blind)
#574E19
Tritanopia (blue-blind)
#8B1729
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2c1c;
/* rgb */ color: rgb(126, 44, 28);
/* oklch */ color: oklch(41.2% 0.117 33.0);
Tailwind
colors: {
  custom: {
    50: '#aa6959',
    500: '#7e2c1c',
    950: '#000000',
  },
}
SCSS
$custom: #7e2c1c;
$custom-light: #aa6959;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2c1c",
  "rgb": {
    "r": 126,
    "g": 44,
    "b": 28
  },
  "hsl": {
    "h": 9.796,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41154,
    "c": 0.11734,
    "h": 33
  },
  "luminance": 0.06321
}

Semantic roles & 50–950 ramp

primary
#7E2C1C
secondary
#44A0B2
accent
#CCE741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E2C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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