#7E2C2A#7E2C2A

#7E2C2A is a dark, moderate red. Relative luminance 0.064; OKLCH L 41.4% C 0.114 H 24.9°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#7E2C2A
RGBrgb(126, 44, 42)
HSLhsl(1, 50%, 33%)
HSVhsv(1, 67%, 49%)
CMYKcmyk(0%, 65.1%, 66.7%, 50.6%)
CIE-LABlab(30.41, 35.38, 20.27)
CIE-LCHlch(30.41, 40.78, 29.80°)
OKLaboklab(41.37% 0.1039 0.0481)
OKLCHoklch(41.37% 0.114 24.9)
XYZxyz(9.9238, 6.4055, 2.9039)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2C2A #2A7C7E
analogous
#7E2A52 #7E2C2A #7E562A
triadic
#7E2C2A #2A7E2C #2C2A7E
tetradic
#7E2C2A #527E2A #2A7C7E #562A7E
square
#7E2C2A #527E2A #2A7C7E #562A7E
split-complementary
#7E2C2A #2A7E56 #2A527E
monochromatic
#220C0B #501C1B #7E2C2A #AC3C39 #C85D5A

Accessibility & contrast

On white

9.21
#7E2C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7E2C2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2C2A
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2C2A#FFFFFF#000000##FFFFFF
##7E2C2A1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413D29
Deuteranopia (green-blind)
#564E28
Tritanopia (blue-blind)
#8A1A2C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2c2a;
/* rgb */ color: rgb(126, 44, 42);
/* oklch */ color: oklch(41.4% 0.114 24.9);
Tailwind
colors: {
  custom: {
    50: '#a96963',
    500: '#7e2c2a',
    950: '#000000',
  },
}
SCSS
$custom: #7e2c2a;
$custom-light: #a96963;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2c2a",
  "rgb": {
    "r": 126,
    "g": 44,
    "b": 42
  },
  "hsl": {
    "h": 1.429,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41371,
    "c": 0.11445,
    "h": 24.9
  },
  "luminance": 0.06404
}

Semantic roles & 50–950 ramp

primary
#7E2C2A
secondary
#56ACAE
accent
#D6DA4E
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110705
muted
#807A79

Preview Lab

Preview with #7E2C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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