#7E2C17#7E2C17

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

Color values

HEX#7E2C17
RGBrgb(126, 44, 23)
HSLhsl(12, 69%, 29%)
HSVhsv(12, 82%, 49%)
CMYKcmyk(0%, 65.1%, 81.7%, 50.6%)
CIE-LABlab(30.16, 34.39, 31.45)
CIE-LCHlch(30.16, 46.60, 42.44°)
OKLaboklab(41.1% 0.0968 0.0685)
OKLCHoklch(41.1% 0.119 35.3)
XYZxyz(9.6606, 6.3002, 1.5178)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2C17 #17697E
analogous
#7E1736 #7E2C17 #7E6017
triadic
#7E2C17 #177E2C #2C177E
tetradic
#7E2C17 #367E17 #17697E #60177E
square
#7E2C17 #367E17 #17697E #60177E
split-complementary
#7E2C17 #177E60 #17367E
monochromatic
#1A0905 #4A1A0E #7E2C17 #B23E20 #DA5735

Accessibility & contrast

On white

9.29
#7E2C17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2C17
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2C17#FFFFFF#000000##FFFFFF
##7E2C171.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C14
Deuteranopia (green-blind)
#574E14
Tritanopia (blue-blind)
#8B1728
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2c17;
/* rgb */ color: rgb(126, 44, 23);
/* oklch */ color: oklch(41.1% 0.119 35.3);
Tailwind
colors: {
  custom: {
    50: '#aa6955',
    500: '#7e2c17',
    950: '#000000',
  },
}
SCSS
$custom: #7e2c17;
$custom-light: #aa6955;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2c17",
  "rgb": {
    "r": 126,
    "g": 44,
    "b": 23
  },
  "hsl": {
    "h": 12.233,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41096,
    "c": 0.11854,
    "h": 35.3
  },
  "luminance": 0.06299
}

Semantic roles & 50–950 ramp

primary
#7E2C17
secondary
#3E9BB3
accent
#C8EC3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E2C17

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

Preview Lab → · Contrast checker → · Palette generator →

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