#7E504D#7E504D

#7E504D is a mid, moderate red. Relative luminance 0.107; OKLCH L 48.2% C 0.063 H 23.7°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#7E504D
RGBrgb(126, 80, 77)
HSLhsl(4, 24%, 40%)
HSVhsv(4, 39%, 49%)
CMYKcmyk(0%, 36.5%, 38.9%, 50.6%)
CIE-LABlab(39.09, 18.93, 9.80)
CIE-LCHlch(39.09, 21.31, 27.36°)
OKLaboklab(48.21% 0.0573 0.0252)
OKLCHoklch(48.21% 0.063 23.7)
XYZxyz(12.8129, 10.7097, 8.4121)
Luminance0.1071 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E504D #4D7B7E
analogous
#7E4D63 #7E504D #7E684D
triadic
#7E504D #4D7E50 #504D7E
tetradic
#7E504D #637E4D #4D7B7E #684D7E
square
#7E504D #637E4D #4D7B7E #684D7E
split-complementary
#7E504D #4D7E68 #4D637E
monochromatic
#32201F #583836 #7E504D #A26A66 #B98F8C

Accessibility & contrast

On white

6.68
#7E504D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#7E504D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E504D
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E504D#FFFFFF#000000##FFFFFF
##7E504D1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59574D
Deuteranopia (green-blind)
#64604C
Tritanopia (blue-blind)
#874A4F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7e504d;
/* rgb */ color: rgb(126, 80, 77);
/* oklch */ color: oklch(48.2% 0.063 23.7);
Tailwind
colors: {
  custom: {
    50: '#a5817e',
    500: '#7e504d',
    950: '#000000',
  },
}
SCSS
$custom: #7e504d;
$custom-light: #a5817e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e504d",
  "rgb": {
    "r": 126,
    "g": 80,
    "b": 77
  },
  "hsl": {
    "h": 3.673,
    "s": 24.138,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48209,
    "c": 0.06262,
    "h": 23.7
  },
  "luminance": 0.10709
}

Semantic roles & 50–950 ramp

primary
#7E504D
secondary
#81A3A6
accent
#BBC167
background
#FAF7F7
surface
#F4EEEE
border
#CEC9C9
text
#0F0A0A
muted
#7F7C7C

Preview Lab

Preview with #7E504D

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

Preview Lab → · Contrast checker → · Palette generator →

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