#7E2C22#7E2C22

#7E2C22 is a dark, moderate red. Relative luminance 0.064; OKLCH L 41.2% C 0.116 H 29.8°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#7E2C22
RGBrgb(126, 44, 34)
HSLhsl(7, 58%, 31%)
HSVhsv(7, 73%, 49%)
CMYKcmyk(0%, 65.1%, 73%, 50.6%)
CIE-LABlab(30.29, 34.90, 25.14)
CIE-LCHlch(30.29, 43.01, 35.77°)
OKLaboklab(41.24% 0.1006 0.0576)
OKLCHoklch(41.24% 0.116 29.8)
XYZxyz(9.7946, 6.3538, 2.2237)
Luminance0.0635 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2C22 #22747E
analogous
#7E2246 #7E2C22 #7E5A22
triadic
#7E2C22 #227E2C #2C227E
tetradic
#7E2C22 #467E22 #22747E #5A227E
square
#7E2C22 #467E22 #22747E #5A227E
split-complementary
#7E2C22 #227E5A #22467E
monochromatic
#1E0A08 #4E1B15 #7E2C22 #AE3D2F #CF5A4C

Accessibility & contrast

On white

9.25
#7E2C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7E2C22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2C22
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2C22#FFFFFF#000000##FFFFFF
##7E2C221.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C20
Deuteranopia (green-blind)
#574E20
Tritanopia (blue-blind)
#8B192A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2c22;
/* rgb */ color: rgb(126, 44, 34);
/* oklch */ color: oklch(41.2% 0.116 29.8);
Tailwind
colors: {
  custom: {
    50: '#aa695d',
    500: '#7e2c22',
    950: '#000000',
  },
}
SCSS
$custom: #7e2c22;
$custom-light: #aa695d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2c22",
  "rgb": {
    "r": 126,
    "g": 44,
    "b": 34
  },
  "hsl": {
    "h": 6.522,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41236,
    "c": 0.11595,
    "h": 29.8
  },
  "luminance": 0.06352
}

Semantic roles & 50–950 ramp

primary
#7E2C22
secondary
#4BA6B1
accent
#D0E147
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7E2C22

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

Preview Lab → · Contrast checker → · Palette generator →

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