#A2787F#A2787F

#A2787F is a mid, muted red. Relative luminance 0.226; OKLCH L 61.6% C 0.053 H 7.7°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#A2787F
RGBrgb(162, 120, 127)
HSLhsl(350, 18%, 55%)
HSVhsv(350, 26%, 64%)
CMYKcmyk(0%, 25.9%, 21.6%, 36.5%)
CIE-LABlab(54.71, 17.49, 2.62)
CIE-LCHlch(54.71, 17.68, 8.51°)
OKLaboklab(61.62% 0.0529 0.0071)
OKLCHoklch(61.62% 0.053 7.7)
XYZxyz(25.4478, 22.6478, 23.1056)
Luminance0.2265 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2787F #78A29B
analogous
#A27894 #A2787F #A28678
triadic
#A2787F #7FA278 #787FA2
tetradic
#A2787F #94A278 #78A29B #8678A2
square
#A2787F #94A278 #78A29B #8678A2
split-complementary
#A2787F #78A286 #7894A2
monochromatic
#5E4146 #835A61 #A2787F #BB9CA1 #D4C0C4

Accessibility & contrast

On white

3.80
#A2787F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#A2787F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A2787F
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2787F#FFFFFF#000000##000000
##A2787F1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2787f;
/* rgb */ color: rgb(162, 120, 127);
/* oklch */ color: oklch(61.6% 0.053 7.7);
Tailwind
colors: {
  custom: {
    50: '#be9fa4',
    500: '#a2787f',
    950: '#000000',
  },
}
SCSS
$custom: #a2787f;
$custom-light: #be9fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#a2787f",
  "rgb": {
    "r": 162,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 350,
    "s": 18.421,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61624,
    "c": 0.05337,
    "h": 7.7
  },
  "luminance": 0.22647
}

Semantic roles & 50–950 ramp

primary
#A2787F
secondary
#B2C4C1
accent
#BBAE6D
background
#FBF9FA
surface
#F7F2F4
border
#D0CCCE
text
#120E0F
muted
#817E7F

Preview Lab

Preview with #A2787F

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

Preview Lab → · Contrast checker → · Palette generator →

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