#A6487F#A6487F

#A6487F is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.1% C 0.139 H 346.6°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#A6487F
RGBrgb(166, 72, 127)
HSLhsl(325, 39%, 47%)
HSVhsv(325, 57%, 65%)
CMYKcmyk(0%, 56.6%, 23.5%, 34.9%)
CIE-LABlab(44.63, 45.09, -12.26)
CIE-LCHlch(44.63, 46.73, 344.79°)
OKLaboklab(54.09% 0.1355 -0.0323)
OKLCHoklch(54.09% 0.139 346.6)
XYZxyz(21.8747, 14.2760, 21.6780)
Luminance0.1427 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6487F #48A66F
analogous
#9E48A6 #A6487F #A64850
triadic
#A6487F #7FA648 #487FA6
tetradic
#A6487F #A69E48 #48A66F #4850A6
square
#A6487F #A69E48 #48A66F #4850A6
split-complementary
#A6487F #50A648 #48A69E
monochromatic
#51233E #7B355E #A6487F #BF6C9D #D297B9

Accessibility & contrast

On white

5.45
#A6487F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#A6487F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6487F
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6487F#FFFFFF#000000##FFFFFF
##A6487F1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515F81
Deuteranopia (green-blind)
#6B6F7D
Tritanopia (blue-blind)
#B0465E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a6487f;
/* rgb */ color: rgb(166, 72, 127);
/* oklch */ color: oklch(54.1% 0.139 346.6);
Tailwind
colors: {
  custom: {
    50: '#c37fa4',
    500: '#a6487f',
    950: '#000000',
  },
}
SCSS
$custom: #a6487f;
$custom-light: #c37fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#a6487f",
  "rgb": {
    "r": 166,
    "g": 72,
    "b": 127
  },
  "hsl": {
    "h": 324.894,
    "s": 39.496,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54085,
    "c": 0.1393,
    "h": 346.6
  },
  "luminance": 0.14274
}

Semantic roles & 50–950 ramp

primary
#A6487F
secondary
#8CBEA1
accent
#CF8A58
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130A0F
muted
#827C7F

Preview Lab

Preview with #A6487F

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

Preview Lab → · Contrast checker → · Palette generator →

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