#A5787F#A5787F

#A5787F is a mid, muted red. Relative luminance 0.230; OKLCH L 62.0% C 0.057 H 8.5°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#A5787F
RGBrgb(165, 120, 127)
HSLhsl(351, 20%, 56%)
HSVhsv(351, 27%, 65%)
CMYKcmyk(0%, 27.3%, 23%, 35.3%)
CIE-LABlab(55.04, 18.65, 3.13)
CIE-LCHlch(55.04, 18.91, 9.54°)
OKLaboklab(61.95% 0.0565 0.0085)
OKLCHoklch(61.95% 0.057 8.5)
XYZxyz(26.0646, 22.9659, 23.1345)
Luminance0.2296 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5787F #78A59E
analogous
#A57895 #A5787F #A58778
triadic
#A5787F #7FA578 #787FA5
tetradic
#A5787F #95A578 #78A59E #8778A5
square
#A5787F #95A578 #78A59E #8778A5
split-complementary
#A5787F #78A587 #7895A5
monochromatic
#624146 #865A60 #A5787F #BD9DA2 #D6C1C5

Accessibility & contrast

On white

3.75
#A5787F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#A5787F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A5787F
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5787F#FFFFFF#000000##000000
##A5787F1.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5787f;
/* rgb */ color: rgb(165, 120, 127);
/* oklch */ color: oklch(62.0% 0.057 8.5);
Tailwind
colors: {
  custom: {
    50: '#c09fa4',
    500: '#a5787f',
    950: '#000000',
  },
}
SCSS
$custom: #a5787f;
$custom-light: #c09fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#a5787f",
  "rgb": {
    "r": 165,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 350.667,
    "s": 20,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61953,
    "c": 0.05709,
    "h": 8.5
  },
  "luminance": 0.22965
}

Semantic roles & 50–950 ramp

primary
#A5787F
secondary
#B3C6C3
accent
#BDB06B
background
#FBF9FA
surface
#F7F2F4
border
#D0CCCE
text
#120E0F
muted
#817E7F

Preview Lab

Preview with #A5787F

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

Preview Lab → · Contrast checker → · Palette generator →

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