#7E2B17#7E2B17

#7E2B17 is a dark, moderate red. Relative luminance 0.062; OKLCH L 41.0% C 0.120 H 34.7°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#7E2B17
RGBrgb(126, 43, 23)
HSLhsl(12, 69%, 29%)
HSVhsv(12, 82%, 49%)
CMYKcmyk(0%, 65.9%, 81.7%, 50.6%)
CIE-LABlab(29.98, 34.87, 31.27)
CIE-LCHlch(29.98, 46.83, 41.88°)
OKLaboklab(40.96% 0.0982 0.0681)
OKLCHoklch(40.96% 0.12 34.7)
XYZxyz(9.6238, 6.2266, 1.5055)
Luminance0.0622 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2B17 #176A7E
analogous
#7E1737 #7E2B17 #7E5F17
triadic
#7E2B17 #177E2B #2B177E
tetradic
#7E2B17 #377E17 #176A7E #5F177E
square
#7E2B17 #377E17 #176A7E #5F177E
split-complementary
#7E2B17 #177E5F #17377E
monochromatic
#1A0905 #4A190E #7E2B17 #B23D20 #DA5535

Accessibility & contrast

On white

9.35
#7E2B17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7E2B17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2B17
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2B17#FFFFFF#000000##FFFFFF
##7E2B171.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B14
Deuteranopia (green-blind)
#574D14
Tritanopia (blue-blind)
#8B1527
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2b17;
/* rgb */ color: rgb(126, 43, 23);
/* oklch */ color: oklch(41.0% 0.120 34.7);
Tailwind
colors: {
  custom: {
    50: '#ab6855',
    500: '#7e2b17',
    950: '#000000',
  },
}
SCSS
$custom: #7e2b17;
$custom-light: #ab6855;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2b17",
  "rgb": {
    "r": 126,
    "g": 43,
    "b": 23
  },
  "hsl": {
    "h": 11.65,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.4096,
    "c": 0.11953,
    "h": 34.7
  },
  "luminance": 0.06225
}

Semantic roles & 50–950 ramp

primary
#7E2B17
secondary
#3E9CB3
accent
#CAEC3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E2B17

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

Preview Lab → · Contrast checker → · Palette generator →

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