#A02887#A02887

#A02887 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 50.0% C 0.185 H 337.8°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#A02887
RGBrgb(160, 40, 135)
HSLhsl(313, 60%, 39%)
HSVhsv(313, 75%, 63%)
CMYKcmyk(0%, 75%, 15.6%, 37.3%)
CIE-LABlab(39.14, 57.86, -25.67)
CIE-LCHlch(39.14, 63.30, 336.08°)
OKLaboklab(49.98% 0.1711 -0.0697)
OKLCHoklch(49.98% 0.185 337.8)
XYZxyz(19.6296, 10.7423, 23.9566)
Luminance0.1074 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02887 #28A041
analogous
#7D28A0 #A02887 #A0284B
triadic
#A02887 #87A028 #2887A0
tetradic
#A02887 #A07D28 #28A041 #284BA0
square
#A02887 #A07D28 #28A041 #284BA0
split-complementary
#A02887 #4BA028 #28A07D
monochromatic
#3E1034 #6F1C5E #A02887 #CD38AE #D969C2

Accessibility & contrast

On white

6.67
#A02887 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#A02887 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02887
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02887#FFFFFF#000000##FFFFFF
##A028871.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D508A
Deuteranopia (green-blind)
#566384
Tritanopia (blue-blind)
#A92F55
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a02887;
/* rgb */ color: rgb(160, 40, 135);
/* oklch */ color: oklch(50.0% 0.185 337.8);
Tailwind
colors: {
  custom: {
    50: '#c06eaa',
    500: '#a02887',
    950: '#000000',
  },
}
SCSS
$custom: #a02887;
$custom-light: #c06eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#a02887",
  "rgb": {
    "r": 160,
    "g": 40,
    "b": 135
  },
  "hsl": {
    "h": 312.5,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49984,
    "c": 0.18474,
    "h": 337.8
  },
  "luminance": 0.1074
}

Semantic roles & 50–950 ramp

primary
#A02887
secondary
#64C077
accent
#E36645
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A02887

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

Preview Lab → · Contrast checker → · Palette generator →

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