#A6787F#A6787F

#A6787F is a light, muted red. Relative luminance 0.231; OKLCH L 62.1% C 0.058 H 8.8°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#A6787F
RGBrgb(166, 120, 127)
HSLhsl(351, 21%, 56%)
HSVhsv(351, 28%, 65%)
CMYKcmyk(0%, 27.7%, 23.5%, 34.9%)
CIE-LABlab(55.15, 19.04, 3.31)
CIE-LCHlch(55.15, 19.32, 9.86°)
OKLaboklab(62.06% 0.0577 0.0089)
OKLCHoklch(62.06% 0.058 8.8)
XYZxyz(26.2735, 23.0736, 23.1443)
Luminance0.2307 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6787F #78A69F
analogous
#A67896 #A6787F #A68878
triadic
#A6787F #7FA678 #787FA6
tetradic
#A6787F #96A678 #78A69F #8878A6
square
#A6787F #96A678 #78A69F #8878A6
split-complementary
#A6787F #78A688 #7896A6
monochromatic
#634146 #875960 #A6787F #BE9DA2 #D7C2C5

Accessibility & contrast

On white

3.74
#A6787F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#A6787F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A6787F
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6787F#FFFFFF#000000##000000
##A6787F1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F7F7F
Deuteranopia (green-blind)
#8A877E
Tritanopia (blue-blind)
#AF747A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a6787f;
/* rgb */ color: rgb(166, 120, 127);
/* oklch */ color: oklch(62.1% 0.058 8.8);
Tailwind
colors: {
  custom: {
    50: '#c19fa4',
    500: '#a6787f',
    950: '#000000',
  },
}
SCSS
$custom: #a6787f;
$custom-light: #c19fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#a6787f",
  "rgb": {
    "r": 166,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 350.87,
    "s": 20.536,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62063,
    "c": 0.05834,
    "h": 8.8
  },
  "luminance": 0.23072
}

Semantic roles & 50–950 ramp

primary
#A6787F
secondary
#B3C6C4
accent
#BDB16B
background
#FBF9FA
surface
#F7F2F4
border
#D0CCCE
text
#120E0F
muted
#817E7F

Preview Lab

Preview with #A6787F

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

Preview Lab → · Contrast checker → · Palette generator →

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