#A62787#A62787

#A62787 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.9% C 0.189 H 339.9°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#A62787
RGBrgb(166, 39, 135)
HSLhsl(315, 62%, 40%)
HSVhsv(315, 77%, 65%)
CMYKcmyk(0%, 76.5%, 18.7%, 34.9%)
CIE-LABlab(40.10, 59.63, -24.10)
CIE-LCHlch(40.10, 64.32, 338.00°)
OKLaboklab(50.87% 0.1779 -0.0651)
OKLCHoklch(50.87% 0.189 339.9)
XYZxyz(20.8252, 11.3094, 24.0031)
Luminance0.1131 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62787 #27A646
analogous
#8627A6 #A62787 #A62747
triadic
#A62787 #87A627 #2787A6
tetradic
#A62787 #A68627 #27A646 #2747A6
square
#A62787 #A68627 #27A646 #2747A6
split-complementary
#A62787 #47A627 #27A686
monochromatic
#431036 #741B5F #A62787 #D13AAC #DC6BC1

Accessibility & contrast

On white

6.44
#A62787 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A62787 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62787
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62787#FFFFFF#000000##FFFFFF
##A627871.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30528A
Deuteranopia (green-blind)
#5A6684
Tritanopia (blue-blind)
#B02C54
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a62787;
/* rgb */ color: rgb(166, 39, 135);
/* oklch */ color: oklch(50.9% 0.189 339.9);
Tailwind
colors: {
  custom: {
    50: '#c46faa',
    500: '#a62787',
    950: '#000000',
  },
}
SCSS
$custom: #a62787;
$custom-light: #c46faa;
$custom-dark: #000000;
JSON
{
  "hex": "#a62787",
  "rgb": {
    "r": 166,
    "g": 39,
    "b": 135
  },
  "hsl": {
    "h": 314.646,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50873,
    "c": 0.18943,
    "h": 339.9
  },
  "luminance": 0.11307
}

Semantic roles & 50–950 ramp

primary
#A62787
secondary
#66C37D
accent
#E56A43
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A62787

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

Preview Lab → · Contrast checker → · Palette generator →

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