#A6787E#A6787E

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

Color values

HEX#A6787E
RGBrgb(166, 120, 126)
HSLhsl(352, 21%, 56%)
HSVhsv(352, 28%, 65%)
CMYKcmyk(0%, 27.7%, 24.1%, 34.9%)
CIE-LABlab(55.12, 18.88, 3.85)
CIE-LCHlch(55.12, 19.27, 11.53°)
OKLaboklab(62.03% 0.0573 0.0103)
OKLCHoklch(62.03% 0.058 10.2)
XYZxyz(26.2086, 23.0477, 22.8028)
Luminance0.2305 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6787E #78A6A0
analogous
#A67895 #A6787E #A68978
triadic
#A6787E #7EA678 #787EA6
tetradic
#A6787E #95A678 #78A6A0 #8978A6
square
#A6787E #95A678 #78A6A0 #8978A6
split-complementary
#A6787E #78A689 #7895A6
monochromatic
#634145 #87595F #A6787E #BE9DA1 #D7C2C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6787E#FFFFFF#000000##000000
##A6787E1.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)
#7F7F7E
Deuteranopia (green-blind)
#8A877D
Tritanopia (blue-blind)
#AF747A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a6787e;
/* rgb */ color: rgb(166, 120, 126);
/* oklch */ color: oklch(62.0% 0.058 10.2);
Tailwind
colors: {
  custom: {
    50: '#c19fa3',
    500: '#a6787e',
    950: '#000000',
  },
}
SCSS
$custom: #a6787e;
$custom-light: #c19fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#a6787e",
  "rgb": {
    "r": 166,
    "g": 120,
    "b": 126
  },
  "hsl": {
    "h": 352.174,
    "s": 20.536,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62034,
    "c": 0.05818,
    "h": 10.2
  },
  "luminance": 0.23046
}

Semantic roles & 50–950 ramp

primary
#A6787E
secondary
#B3C6C4
accent
#BDB26B
background
#FBF9FA
surface
#F7F2F3
border
#D0CCCD
text
#120E0F
muted
#817E7F

Preview Lab

Preview with #A6787E

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

Preview Lab → · Contrast checker → · Palette generator →

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