#7F504F#7F504F

#7F504F is a mid, moderate red. Relative luminance 0.108; OKLCH L 48.4% C 0.064 H 21.0°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#7F504F
RGBrgb(127, 80, 79)
HSLhsl(1, 23%, 40%)
HSVhsv(1, 38%, 50%)
CMYKcmyk(0%, 37%, 37.8%, 50.2%)
CIE-LABlab(39.27, 19.61, 8.83)
CIE-LCHlch(39.27, 21.51, 24.23°)
OKLaboklab(48.39% 0.0595 0.0228)
OKLCHoklch(48.39% 0.064 21)
XYZxyz(13.0329, 10.8148, 8.7967)
Luminance0.1081 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F504F #4F7E7F
analogous
#7F4F66 #7F504F #7F684F
triadic
#7F504F #4F7F50 #504F7F
tetradic
#7F504F #667F4F #4F7E7F #684F7F
square
#7F504F #667F4F #4F7E7F #684F7F
split-complementary
#7F504F #4F7F68 #4F667F
monochromatic
#342020 #593838 #7F504F #A26A69 #B9908F

Accessibility & contrast

On white

6.64
#7F504F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#7F504F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F504F
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F504F#FFFFFF#000000##FFFFFF
##7F504F1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59574F
Deuteranopia (green-blind)
#65604E
Tritanopia (blue-blind)
#884B50
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7f504f;
/* rgb */ color: rgb(127, 80, 79);
/* oklch */ color: oklch(48.4% 0.064 21.0);
Tailwind
colors: {
  custom: {
    50: '#a68180',
    500: '#7f504f',
    950: '#000000',
  },
}
SCSS
$custom: #7f504f;
$custom-light: #a68180;
$custom-dark: #000000;
JSON
{
  "hex": "#7f504f",
  "rgb": {
    "r": 127,
    "g": 80,
    "b": 79
  },
  "hsl": {
    "h": 1.25,
    "s": 23.301,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48392,
    "c": 0.06368,
    "h": 21
  },
  "luminance": 0.10814
}

Semantic roles & 50–950 ramp

primary
#7F504F
secondary
#84A5A6
accent
#BEC068
background
#FAF7F7
surface
#F4EEEE
border
#CEC9C9
text
#0F0A0A
muted
#7F7C7C

Preview Lab

Preview with #7F504F

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

Preview Lab → · Contrast checker → · Palette generator →

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