#A1787F#A1787F

#A1787F is a mid, muted red. Relative luminance 0.225; OKLCH L 61.5% C 0.052 H 7.3°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#A1787F
RGBrgb(161, 120, 127)
HSLhsl(350, 18%, 55%)
HSVhsv(350, 25%, 63%)
CMYKcmyk(0%, 25.5%, 21.1%, 36.9%)
CIE-LABlab(54.60, 17.10, 2.45)
CIE-LCHlch(54.60, 17.27, 8.14°)
OKLaboklab(61.52% 0.0517 0.0067)
OKLCHoklch(61.52% 0.052 7.3)
XYZxyz(25.2454, 22.5435, 23.0961)
Luminance0.2254 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1787F #78A19A
analogous
#A17894 #A1787F #A18578
triadic
#A1787F #7FA178 #787FA1
tetradic
#A1787F #94A178 #78A19A #8578A1
square
#A1787F #94A178 #78A19A #8578A1
split-complementary
#A1787F #78A185 #7894A1
monochromatic
#5D4146 #825A61 #A1787F #BA9CA1 #D3C0C3

Accessibility & contrast

On white

3.81
#A1787F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#A1787F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A1787F
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1787F#FFFFFF#000000##000000
##A1787F1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E7E7F
Deuteranopia (green-blind)
#87857E
Tritanopia (blue-blind)
#A9757A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a1787f;
/* rgb */ color: rgb(161, 120, 127);
/* oklch */ color: oklch(61.5% 0.052 7.3);
Tailwind
colors: {
  custom: {
    50: '#bd9fa4',
    500: '#a1787f',
    950: '#000000',
  },
}
SCSS
$custom: #a1787f;
$custom-light: #bd9fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#a1787f",
  "rgb": {
    "r": 161,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 349.756,
    "s": 17.904,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61515,
    "c": 0.05213,
    "h": 7.3
  },
  "luminance": 0.22542
}

Semantic roles & 50–950 ramp

primary
#A1787F
secondary
#B2C3C0
accent
#BBAD6D
background
#FBF9FA
surface
#F7F2F4
border
#D0CCCE
text
#120E0F
muted
#817E7F

Preview Lab

Preview with #A1787F

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

Preview Lab → · Contrast checker → · Palette generator →

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