#7E331C#7E331C

#7E331C is a dark, moderate red. Relative luminance 0.069; OKLCH L 42.2% C 0.110 H 37.4°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#7E331C
RGBrgb(126, 51, 28)
HSLhsl(14, 64%, 30%)
HSVhsv(14, 78%, 49%)
CMYKcmyk(0%, 59.5%, 77.8%, 50.6%)
CIE-LABlab(31.55, 31.07, 30.10)
CIE-LCHlch(31.55, 43.26, 44.09°)
OKLaboklab(42.17% 0.0875 0.067)
OKLCHoklch(42.17% 0.11 37.4)
XYZxyz(9.9986, 6.8884, 1.9015)
Luminance0.0689 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E331C #1C677E
analogous
#7E1C36 #7E331C #7E641C
triadic
#7E331C #1C7E33 #331C7E
tetradic
#7E331C #367E1C #1C677E #641C7E
square
#7E331C #367E1C #1C677E #641C7E
split-complementary
#7E331C #1C7E64 #1C367E
monochromatic
#1A0A06 #4C1F11 #7E331C #B04727 #D56340

Accessibility & contrast

On white

8.83
#7E331C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7E331C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E331C
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E331C#FFFFFF#000000##FFFFFF
##7E331C1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484019
Deuteranopia (green-blind)
#5A511A
Tritanopia (blue-blind)
#8B222E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e331c;
/* rgb */ color: rgb(126, 51, 28);
/* oklch */ color: oklch(42.2% 0.110 37.4);
Tailwind
colors: {
  custom: {
    50: '#aa6d59',
    500: '#7e331c',
    950: '#000000',
  },
}
SCSS
$custom: #7e331c;
$custom-light: #aa6d59;
$custom-dark: #000000;
JSON
{
  "hex": "#7e331c",
  "rgb": {
    "r": 126,
    "g": 51,
    "b": 28
  },
  "hsl": {
    "h": 14.082,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42167,
    "c": 0.11021,
    "h": 37.4
  },
  "luminance": 0.06887
}

Semantic roles & 50–950 ramp

primary
#7E331C
secondary
#4498B2
accent
#C0E741
background
#FBF6F5
surface
#F6ECE9
border
#D0C7C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7E331C

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

Preview Lab → · Contrast checker → · Palette generator →

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