#A34787#A34787

#A34787 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 53.8% C 0.144 H 340.8°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#A34787
RGBrgb(163, 71, 135)
HSLhsl(318, 39%, 46%)
HSVhsv(318, 56%, 64%)
CMYKcmyk(0%, 56.4%, 17.2%, 36.1%)
CIE-LABlab(44.30, 45.84, -17.66)
CIE-LCHlch(44.30, 49.13, 338.93°)
OKLaboklab(53.85% 0.1358 -0.0473)
OKLCHoklch(53.85% 0.144 340.8)
XYZxyz(21.7311, 14.0440, 24.4832)
Luminance0.1404 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34787 #47A363
analogous
#9147A3 #A34787 #A34759
triadic
#A34787 #87A347 #4787A3
tetradic
#A34787 #A39147 #47A363 #4759A3
square
#A34787 #A39147 #47A363 #4759A3
split-complementary
#A34787 #59A347 #47A391
monochromatic
#4E2240 #783464 #A34787 #BE69A4 #D094BE

Accessibility & contrast

On white

5.51
#A34787 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#A34787 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A34787
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34787#FFFFFF#000000##FFFFFF
##A347871.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5F89
Deuteranopia (green-blind)
#666E85
Tritanopia (blue-blind)
#AC4861
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a34787;
/* rgb */ color: rgb(163, 71, 135);
/* oklch */ color: oklch(53.8% 0.144 340.8);
Tailwind
colors: {
  custom: {
    50: '#c17faa',
    500: '#a34787',
    950: '#000000',
  },
}
SCSS
$custom: #a34787;
$custom-light: #c17faa;
$custom-dark: #000000;
JSON
{
  "hex": "#a34787",
  "rgb": {
    "r": 163,
    "g": 71,
    "b": 135
  },
  "hsl": {
    "h": 318.261,
    "s": 39.316,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5385,
    "c": 0.14377,
    "h": 340.8
  },
  "luminance": 0.14042
}

Semantic roles & 50–950 ramp

primary
#A34787
secondary
#8ABC99
accent
#CF7D59
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #A34787

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

Preview Lab → · Contrast checker → · Palette generator →

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