#A62887#A62887

#A62887 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 51.0% C 0.188 H 339.9°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#A62887
RGBrgb(166, 40, 135)
HSLhsl(315, 61%, 40%)
HSVhsv(315, 76%, 65%)
CMYKcmyk(0%, 75.9%, 18.7%, 34.9%)
CIE-LABlab(40.21, 59.32, -23.93)
CIE-LCHlch(40.21, 63.97, 338.03°)
OKLaboklab(50.95% 0.1769 -0.0646)
OKLCHoklch(50.95% 0.188 339.9)
XYZxyz(20.8584, 11.3759, 24.0142)
Luminance0.1137 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62887 #28A647
analogous
#8628A6 #A62887 #A62848
triadic
#A62887 #87A628 #2887A6
tetradic
#A62887 #A68628 #28A647 #2848A6
square
#A62887 #A68628 #28A647 #2848A6
split-complementary
#A62887 #48A628 #28A686
monochromatic
#431037 #751C5F #A62887 #D03BAB #DC6DC0

Accessibility & contrast

On white

6.41
#A62887 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A62887 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62887
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62887#FFFFFF#000000##FFFFFF
##A628871.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31528A
Deuteranopia (green-blind)
#5A6684
Tritanopia (blue-blind)
#B02C55
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a62887;
/* rgb */ color: rgb(166, 40, 135);
/* oklch */ color: oklch(51.0% 0.188 339.9);
Tailwind
colors: {
  custom: {
    50: '#c46faa',
    500: '#a62887',
    950: '#000000',
  },
}
SCSS
$custom: #a62887;
$custom-light: #c46faa;
$custom-dark: #000000;
JSON
{
  "hex": "#a62887",
  "rgb": {
    "r": 166,
    "g": 40,
    "b": 135
  },
  "hsl": {
    "h": 314.762,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50952,
    "c": 0.18838,
    "h": 339.9
  },
  "luminance": 0.11374
}

Semantic roles & 50–950 ramp

primary
#A62887
secondary
#67C27E
accent
#E46B44
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A62887

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

Preview Lab → · Contrast checker → · Palette generator →

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