#A02788#A02788

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

Color values

HEX#A02788
RGBrgb(160, 39, 136)
HSLhsl(312, 61%, 39%)
HSVhsv(312, 76%, 63%)
CMYKcmyk(0%, 75.6%, 15%, 37.3%)
CIE-LABlab(39.08, 58.33, -26.38)
CIE-LCHlch(39.08, 64.02, 335.66°)
OKLaboklab(49.95% 0.1722 -0.0717)
OKLCHoklch(49.95% 0.187 337.4)
XYZxyz(19.6671, 10.7040, 24.3181)
Luminance0.1070 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02788 #27A03F
analogous
#7C27A0 #A02788 #A0274C
triadic
#A02788 #88A027 #2788A0
tetradic
#A02788 #A07C27 #27A03F #274CA0
square
#A02788 #A07C27 #27A03F #274CA0
split-complementary
#A02788 #4CA027 #27A07C
monochromatic
#3E0F34 #6F1B5E #A02788 #CE36B0 #DA67C3

Accessibility & contrast

On white

6.69
#A02788 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#A02788 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02788
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02788#FFFFFF#000000##FFFFFF
##A027881.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B508B
Deuteranopia (green-blind)
#556385
Tritanopia (blue-blind)
#A92E55
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a02788;
/* rgb */ color: rgb(160, 39, 136);
/* oklch */ color: oklch(50.0% 0.187 337.4);
Tailwind
colors: {
  custom: {
    50: '#c06eab',
    500: '#a02788',
    950: '#000000',
  },
}
SCSS
$custom: #a02788;
$custom-light: #c06eab;
$custom-dark: #000000;
JSON
{
  "hex": "#a02788",
  "rgb": {
    "r": 160,
    "g": 39,
    "b": 136
  },
  "hsl": {
    "h": 311.901,
    "s": 60.804,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49953,
    "c": 0.18651,
    "h": 337.4
  },
  "luminance": 0.10702
}

Semantic roles & 50–950 ramp

primary
#A02788
secondary
#63C075
accent
#E46444
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A02788

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

Preview Lab → · Contrast checker → · Palette generator →

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