#7E2D17#7E2D17

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

Color values

HEX#7E2D17
RGBrgb(126, 45, 23)
HSLhsl(13, 69%, 29%)
HSVhsv(13, 82%, 49%)
CMYKcmyk(0%, 64.3%, 81.7%, 50.6%)
CIE-LABlab(30.34, 33.90, 31.63)
CIE-LCHlch(30.34, 46.37, 43.02°)
OKLaboklab(41.24% 0.0953 0.0689)
OKLCHoklch(41.24% 0.118 35.9)
XYZxyz(9.6983, 6.3756, 1.5304)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2D17 #17687E
analogous
#7E1734 #7E2D17 #7E6117
triadic
#7E2D17 #177E2D #2D177E
tetradic
#7E2D17 #347E17 #17687E #61177E
square
#7E2D17 #347E17 #17687E #61177E
split-complementary
#7E2D17 #177E61 #17347E
monochromatic
#1A0905 #4A1B0E #7E2D17 #B23F20 #DA5835

Accessibility & contrast

On white

9.23
#7E2D17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2D17
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2D17#FFFFFF#000000##FFFFFF
##7E2D171.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C14
Deuteranopia (green-blind)
#584E14
Tritanopia (blue-blind)
#8B1829
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2d17;
/* rgb */ color: rgb(126, 45, 23);
/* oklch */ color: oklch(41.2% 0.118 35.9);
Tailwind
colors: {
  custom: {
    50: '#aa6a56',
    500: '#7e2d17',
    950: '#000000',
  },
}
SCSS
$custom: #7e2d17;
$custom-light: #aa6a56;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2d17",
  "rgb": {
    "r": 126,
    "g": 45,
    "b": 23
  },
  "hsl": {
    "h": 12.816,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41235,
    "c": 0.11755,
    "h": 35.9
  },
  "luminance": 0.06374
}

Semantic roles & 50–950 ramp

primary
#7E2D17
secondary
#3E9AB3
accent
#C6EC3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E2D17

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

Preview Lab → · Contrast checker → · Palette generator →

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