#7E474E#7E474E

#7E474E is a mid, moderate red. Relative luminance 0.095; OKLCH L 46.6% C 0.076 H 12.3°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#7E474E
RGBrgb(126, 71, 78)
HSLhsl(352, 28%, 39%)
HSVhsv(352, 44%, 49%)
CMYKcmyk(0%, 43.7%, 38.1%, 50.6%)
CIE-LABlab(36.92, 24.36, 6.12)
CIE-LCHlch(36.92, 25.11, 14.09°)
OKLaboklab(46.56% 0.0738 0.016)
OKLCHoklch(46.56% 0.076 12.3)
XYZxyz(12.2331, 9.4932, 8.3943)
Luminance0.0949 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E474E #477E77
analogous
#7E4769 #7E474E #7E5B47
triadic
#7E474E #4E7E47 #474E7E
tetradic
#7E474E #697E47 #477E77 #5B477E
square
#7E474E #697E47 #477E77 #5B477E
split-complementary
#7E474E #477E5B #47697E
monochromatic
#301B1E #573136 #7E474E #A45E67 #BA858C

Accessibility & contrast

On white

7.25
#7E474E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#7E474E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E474E
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E474E#FFFFFF#000000##FFFFFF
##7E474E1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51504E
Deuteranopia (green-blind)
#5F5B4D
Tritanopia (blue-blind)
#87414A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7e474e;
/* rgb */ color: rgb(126, 71, 78);
/* oklch */ color: oklch(46.6% 0.076 12.3);
Tailwind
colors: {
  custom: {
    50: '#a57b7f',
    500: '#7e474e',
    950: '#000000',
  },
}
SCSS
$custom: #7e474e;
$custom-light: #a57b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e474e",
  "rgb": {
    "r": 126,
    "g": 71,
    "b": 78
  },
  "hsl": {
    "h": 352.364,
    "s": 27.919,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46556,
    "c": 0.07555,
    "h": 12.3
  },
  "luminance": 0.09492
}

Semantic roles & 50–950 ramp

primary
#7E474E
secondary
#7BA6A1
accent
#C4B864
background
#FAF7F7
surface
#F4EEEE
border
#CEC9C9
text
#10090A
muted
#7F7B7C

Preview Lab

Preview with #7E474E

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

Preview Lab → · Contrast checker → · Palette generator →

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