#A6787B#A6787B

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

Color values

HEX#A6787B
RGBrgb(166, 120, 123)
HSLhsl(356, 21%, 56%)
HSVhsv(356, 28%, 65%)
CMYKcmyk(0%, 27.7%, 25.9%, 34.9%)
CIE-LABlab(55.04, 18.43, 5.49)
CIE-LCHlch(55.04, 19.23, 16.58°)
OKLaboklab(61.95% 0.0561 0.0145)
OKLCHoklch(61.95% 0.058 14.5)
XYZxyz(26.0180, 22.9714, 21.7985)
Luminance0.2297 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6787B #78A6A3
analogous
#A67892 #A6787B #A68C78
triadic
#A6787B #7BA678 #787BA6
tetradic
#A6787B #92A678 #78A6A3 #8C78A6
square
#A6787B #92A678 #78A6A3 #8C78A6
split-complementary
#A6787B #78A68C #7892A6
monochromatic
#634143 #87595C #A6787B #BE9D9F #D7C2C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6787B#FFFFFF#000000##000000
##A6787B1.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)
#807F7B
Deuteranopia (green-blind)
#8B877A
Tritanopia (blue-blind)
#AF7479
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a6787b;
/* rgb */ color: rgb(166, 120, 123);
/* oklch */ color: oklch(61.9% 0.058 14.5);
Tailwind
colors: {
  custom: {
    50: '#c19fa1',
    500: '#a6787b',
    950: '#000000',
  },
}
SCSS
$custom: #a6787b;
$custom-light: #c19fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#a6787b",
  "rgb": {
    "r": 166,
    "g": 120,
    "b": 123
  },
  "hsl": {
    "h": 356.087,
    "s": 20.536,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61947,
    "c": 0.05791,
    "h": 14.5
  },
  "luminance": 0.2297
}

Semantic roles & 50–950 ramp

primary
#A6787B
secondary
#B3C6C5
accent
#BDB86B
background
#FCF9F9
surface
#F8F2F2
border
#D1CCCC
text
#120E0E
muted
#817E7E

Preview Lab

Preview with #A6787B

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

Preview Lab → · Contrast checker → · Palette generator →

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