#7F424E#7F424E

#7F424E is a mid, moderate red. Relative luminance 0.090; OKLCH L 45.8% C 0.085 H 8.4°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#7F424E
RGBrgb(127, 66, 78)
HSLhsl(348, 32%, 38%)
HSVhsv(348, 48%, 50%)
CMYKcmyk(0%, 48%, 38.6%, 50.2%)
CIE-LABlab(35.91, 27.63, 4.69)
CIE-LCHlch(35.91, 28.02, 9.64°)
OKLaboklab(45.82% 0.0838 0.0124)
OKLCHoklch(45.82% 0.085 8.4)
XYZxyz(12.0763, 8.9596, 8.2996)
Luminance0.0896 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F424E #427F73
analogous
#7F426C #7F424E #7F5542
triadic
#7F424E #4E7F42 #424E7F
tetradic
#7F424E #6C7F42 #427F73 #55427F
square
#7F424E #6C7F42 #427F73 #55427F
split-complementary
#7F424E #427F55 #426C7F
monochromatic
#2E181D #572D35 #7F424E #A75767 #BC7F8B

Accessibility & contrast

On white

7.52
#7F424E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#7F424E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F424E
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F424E#FFFFFF#000000##FFFFFF
##7F424E1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4D4E
Deuteranopia (green-blind)
#5C594D
Tritanopia (blue-blind)
#893C46
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7f424e;
/* rgb */ color: rgb(127, 66, 78);
/* oklch */ color: oklch(45.8% 0.085 8.4);
Tailwind
colors: {
  custom: {
    50: '#a6787f',
    500: '#7f424e',
    950: '#000000',
  },
}
SCSS
$custom: #7f424e;
$custom-light: #a6787f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f424e",
  "rgb": {
    "r": 127,
    "g": 66,
    "b": 78
  },
  "hsl": {
    "h": 348.197,
    "s": 31.606,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45818,
    "c": 0.08476,
    "h": 8.4
  },
  "luminance": 0.08959
}

Semantic roles & 50–950 ramp

primary
#7F424E
secondary
#75A79E
accent
#C8B360
background
#FAF7F7
surface
#F4EDEE
border
#CEC8C9
text
#10090A
muted
#7F7B7C

Preview Lab

Preview with #7F424E

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

Preview Lab → · Contrast checker → · Palette generator →

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