#A6787C#A6787C

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

Color values

HEX#A6787C
RGBrgb(166, 120, 124)
HSLhsl(355, 21%, 56%)
HSVhsv(355, 28%, 65%)
CMYKcmyk(0%, 27.7%, 25.3%, 34.9%)
CIE-LABlab(55.07, 18.58, 4.94)
CIE-LCHlch(55.07, 19.23, 14.90°)
OKLaboklab(61.98% 0.0565 0.0131)
OKLCHoklch(61.98% 0.058 13.1)
XYZxyz(26.0809, 22.9965, 22.1299)
Luminance0.2299 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6787C #78A6A2
analogous
#A67893 #A6787C #A68B78
triadic
#A6787C #7CA678 #787CA6
tetradic
#A6787C #93A678 #78A6A2 #8B78A6
square
#A6787C #93A678 #78A6A2 #8B78A6
split-complementary
#A6787C #78A68B #7893A6
monochromatic
#634144 #87595D #A6787C #BE9DA0 #D7C2C4

Accessibility & contrast

On white

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

On black

5.60
#A6787C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A6787C
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6787C#FFFFFF#000000##000000
##A6787C1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#807F7C
Deuteranopia (green-blind)
#8A877B
Tritanopia (blue-blind)
#AF747A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a6787c;
/* rgb */ color: rgb(166, 120, 124);
/* oklch */ color: oklch(62.0% 0.058 13.1);
Tailwind
colors: {
  custom: {
    50: '#c19fa1',
    500: '#a6787c',
    950: '#000000',
  },
}
SCSS
$custom: #a6787c;
$custom-light: #c19fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#a6787c",
  "rgb": {
    "r": 166,
    "g": 120,
    "b": 124
  },
  "hsl": {
    "h": 354.783,
    "s": 20.536,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61976,
    "c": 0.05796,
    "h": 13.1
  },
  "luminance": 0.22995
}

Semantic roles & 50–950 ramp

primary
#A6787C
secondary
#B3C6C5
accent
#BDB66B
background
#FCF9F9
surface
#F8F2F2
border
#D1CCCC
text
#120E0F
muted
#817E7E

Preview Lab

Preview with #A6787C

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

Preview Lab → · Contrast checker → · Palette generator →

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