#7E2E17#7E2E17

#7E2E17 is a dark, moderate red. Relative luminance 0.065; OKLCH L 41.4% C 0.117 H 36.5°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#7E2E17
RGBrgb(126, 46, 23)
HSLhsl(13, 69%, 29%)
HSVhsv(13, 82%, 49%)
CMYKcmyk(0%, 63.5%, 81.7%, 50.6%)
CIE-LABlab(30.53, 33.41, 31.82)
CIE-LCHlch(30.53, 46.13, 43.61°)
OKLaboklab(41.38% 0.0937 0.0693)
OKLCHoklch(41.38% 0.117 36.5)
XYZxyz(9.7369, 6.4528, 1.5433)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2E17 #17677E
analogous
#7E1734 #7E2E17 #7E6217
triadic
#7E2E17 #177E2E #2E177E
tetradic
#7E2E17 #347E17 #17677E #62177E
square
#7E2E17 #347E17 #17677E #62177E
split-complementary
#7E2E17 #177E62 #17347E
monochromatic
#1A0905 #4A1B0E #7E2E17 #B24120 #DA5A35

Accessibility & contrast

On white

9.17
#7E2E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7E2E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2E17
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2E17#FFFFFF#000000##FFFFFF
##7E2E171.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D14
Deuteranopia (green-blind)
#584F14
Tritanopia (blue-blind)
#8B1A29
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2e17;
/* rgb */ color: rgb(126, 46, 23);
/* oklch */ color: oklch(41.4% 0.117 36.5);
Tailwind
colors: {
  custom: {
    50: '#aa6a56',
    500: '#7e2e17',
    950: '#000000',
  },
}
SCSS
$custom: #7e2e17;
$custom-light: #aa6a56;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2e17",
  "rgb": {
    "r": 126,
    "g": 46,
    "b": 23
  },
  "hsl": {
    "h": 13.398,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41375,
    "c": 0.11656,
    "h": 36.5
  },
  "luminance": 0.06451
}

Semantic roles & 50–950 ramp

primary
#7E2E17
secondary
#3E99B3
accent
#C5EC3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7E2E17

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

Preview Lab → · Contrast checker → · Palette generator →

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