#7E2A1C#7E2A1C

#7E2A1C is a dark, moderate red. Relative luminance 0.062; OKLCH L 40.9% C 0.119 H 31.9°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#7E2A1C
RGBrgb(126, 42, 28)
HSLhsl(9, 64%, 30%)
HSVhsv(9, 78%, 49%)
CMYKcmyk(0%, 66.7%, 77.8%, 50.6%)
CIE-LABlab(29.85, 35.55, 28.27)
CIE-LCHlch(29.85, 45.42, 38.49°)
OKLaboklab(40.89% 0.1014 0.0631)
OKLCHoklch(40.89% 0.119 31.9)
XYZxyz(9.6428, 6.1768, 1.7829)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2A1C #1C707E
analogous
#7E1C3F #7E2A1C #7E5B1C
triadic
#7E2A1C #1C7E2A #2A1C7E
tetradic
#7E2A1C #3F7E1C #1C707E #5B1C7E
square
#7E2A1C #3F7E1C #1C707E #5B1C7E
split-complementary
#7E2A1C #1C7E5B #1C3F7E
monochromatic
#1A0906 #4C1911 #7E2A1C #B03B27 #D55540

Accessibility & contrast

On white

9.40
#7E2A1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7E2A1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2A1C
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2A1C#FFFFFF#000000##FFFFFF
##7E2A1C1.009.402.249.40
#FFFFFF9.401.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B1A
Deuteranopia (green-blind)
#564D19
Tritanopia (blue-blind)
#8B1427
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e2a1c;
/* rgb */ color: rgb(126, 42, 28);
/* oklch */ color: oklch(40.9% 0.119 31.9);
Tailwind
colors: {
  custom: {
    50: '#aa6859',
    500: '#7e2a1c',
    950: '#000000',
  },
}
SCSS
$custom: #7e2a1c;
$custom-light: #aa6859;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2a1c",
  "rgb": {
    "r": 126,
    "g": 42,
    "b": 28
  },
  "hsl": {
    "h": 8.571,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40885,
    "c": 0.11939,
    "h": 31.9
  },
  "luminance": 0.06175
}

Semantic roles & 50–950 ramp

primary
#7E2A1C
secondary
#44A2B2
accent
#CFE741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E2A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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