#A4787F#A4787F

#A4787F is a mid, muted red. Relative luminance 0.229; OKLCH L 61.8% C 0.056 H 8.3°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#A4787F
RGBrgb(164, 120, 127)
HSLhsl(350, 19%, 56%)
HSVhsv(350, 27%, 64%)
CMYKcmyk(0%, 26.8%, 22.6%, 35.7%)
CIE-LABlab(54.93, 18.26, 2.96)
CIE-LCHlch(54.93, 18.50, 9.21°)
OKLaboklab(61.84% 0.0553 0.008)
OKLCHoklch(61.84% 0.056 8.3)
XYZxyz(25.8574, 22.8590, 23.1248)
Luminance0.2286 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4787F #78A49D
analogous
#A47895 #A4787F #A48778
triadic
#A4787F #7FA478 #787FA4
tetradic
#A4787F #95A478 #78A49D #8778A4
square
#A4787F #95A478 #78A49D #8778A4
split-complementary
#A4787F #78A487 #7895A4
monochromatic
#614146 #855A61 #A4787F #BD9DA2 #D5C1C4

Accessibility & contrast

On white

3.77
#A4787F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#A4787F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A4787F
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4787F#FFFFFF#000000##000000
##A4787F1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F7F7F
Deuteranopia (green-blind)
#89877E
Tritanopia (blue-blind)
#AC757A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a4787f;
/* rgb */ color: rgb(164, 120, 127);
/* oklch */ color: oklch(61.8% 0.056 8.3);
Tailwind
colors: {
  custom: {
    50: '#c09fa4',
    500: '#a4787f',
    950: '#000000',
  },
}
SCSS
$custom: #a4787f;
$custom-light: #c09fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#a4787f",
  "rgb": {
    "r": 164,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 350.455,
    "s": 19.469,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61842,
    "c": 0.05585,
    "h": 8.3
  },
  "luminance": 0.22858
}

Semantic roles & 50–950 ramp

primary
#A4787F
secondary
#B3C5C2
accent
#BCAF6C
background
#FBF9FA
surface
#F7F2F4
border
#D0CCCE
text
#120E0F
muted
#817E7F

Preview Lab

Preview with #A4787F

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

Preview Lab → · Contrast checker → · Palette generator →

#A4787F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva