#7F4E4E#7F4E4E

#7F4E4E is a mid, moderate red. Relative luminance 0.105; OKLCH L 48.0% C 0.067 H 19.8°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#7F4E4E
RGBrgb(127, 78, 78)
HSLhsl(0, 24%, 40%)
HSVhsv(0, 39%, 50%)
CMYKcmyk(0%, 38.6%, 38.6%, 50.2%)
CIE-LABlab(38.75, 20.66, 8.72)
CIE-LCHlch(38.75, 22.43, 22.87°)
OKLaboklab(47.98% 0.0626 0.0225)
OKLCHoklch(47.98% 0.067 19.8)
XYZxyz(12.8525, 10.5119, 8.5583)
Luminance0.1051 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F4E4E #4E7F7F
analogous
#7F4E66 #7F4E4E #7F664E
triadic
#7F4E4E #4E7F4E #4E4E7F
tetradic
#7F4E4E #667F4E #4E7F7F #664E7F
square
#7F4E4E #667F4E #4E7F7F #664E7F
split-complementary
#7F4E4E #4E7F66 #4E667F
monochromatic
#331F1F #593737 #7F4E4E #A26868 #BA8E8E

Accessibility & contrast

On white

6.77
#7F4E4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#7F4E4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F4E4E
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F4E4E#FFFFFF#000000##FFFFFF
##7F4E4E1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58554E
Deuteranopia (green-blind)
#645F4D
Tritanopia (blue-blind)
#88484E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7f4e4e;
/* rgb */ color: rgb(127, 78, 78);
/* oklch */ color: oklch(48.0% 0.067 19.8);
Tailwind
colors: {
  custom: {
    50: '#a6807f',
    500: '#7f4e4e',
    950: '#000000',
  },
}
SCSS
$custom: #7f4e4e;
$custom-light: #a6807f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f4e4e",
  "rgb": {
    "r": 127,
    "g": 78,
    "b": 78
  },
  "hsl": {
    "h": 0,
    "s": 23.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47984,
    "c": 0.06652,
    "h": 19.8
  },
  "luminance": 0.10511
}

Semantic roles & 50–950 ramp

primary
#7F4E4E
secondary
#83A6A6
accent
#C0C067
background
#FAF7F7
surface
#F4EEEE
border
#CEC9C9
text
#100A0A
muted
#7F7C7C

Preview Lab

Preview with #7F4E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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