#A02786#A02786

#A02786 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.9% C 0.185 H 338.2°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#A02786
RGBrgb(160, 39, 134)
HSLhsl(313, 61%, 39%)
HSVhsv(313, 76%, 63%)
CMYKcmyk(0%, 75.6%, 16.2%, 37.3%)
CIE-LABlab(38.98, 58.04, -25.30)
CIE-LCHlch(38.98, 63.32, 336.44°)
OKLaboklab(49.85% 0.1719 -0.0686)
OKLCHoklch(49.85% 0.185 338.2)
XYZxyz(19.5262, 10.6477, 23.5765)
Luminance0.1065 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02786 #27A041
analogous
#7E27A0 #A02786 #A02749
triadic
#A02786 #86A027 #2786A0
tetradic
#A02786 #A07E27 #27A041 #2749A0
square
#A02786 #A07E27 #27A041 #2749A0
split-complementary
#A02786 #49A027 #27A07E
monochromatic
#3E0F34 #6F1B5D #A02786 #CE36AD #DA67C1

Accessibility & contrast

On white

6.71
#A02786 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#A02786 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02786
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02786#FFFFFF#000000##FFFFFF
##A027861.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5089
Deuteranopia (green-blind)
#566283
Tritanopia (blue-blind)
#A92D54
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a02786;
/* rgb */ color: rgb(160, 39, 134);
/* oklch */ color: oklch(49.9% 0.185 338.2);
Tailwind
colors: {
  custom: {
    50: '#c06ea9',
    500: '#a02786',
    950: '#000000',
  },
}
SCSS
$custom: #a02786;
$custom-light: #c06ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#a02786",
  "rgb": {
    "r": 160,
    "g": 39,
    "b": 134
  },
  "hsl": {
    "h": 312.893,
    "s": 60.804,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49851,
    "c": 0.18514,
    "h": 338.2
  },
  "luminance": 0.10646
}

Semantic roles & 50–950 ramp

primary
#A02786
secondary
#63C077
accent
#E46644
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A02786

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

Preview Lab → · Contrast checker → · Palette generator →

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