#A02C8A#A02C8A

#A02C8A is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.5% C 0.182 H 336.7°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#A02C8A
RGBrgb(160, 44, 138)
HSLhsl(311, 57%, 40%)
HSVhsv(311, 73%, 63%)
CMYKcmyk(0%, 72.5%, 13.8%, 37.3%)
CIE-LABlab(39.77, 56.95, -26.53)
CIE-LCHlch(39.77, 62.82, 335.02°)
OKLaboklab(50.48% 0.1674 -0.0722)
OKLCHoklch(50.48% 0.182 336.7)
XYZxyz(19.9857, 11.1117, 25.1320)
Luminance0.1111 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02C8A #2CA042
analogous
#7C2CA0 #A02C8A #A02C50
triadic
#A02C8A #8AA02C #2C8AA0
tetradic
#A02C8A #A07C2C #2CA042 #2C50A0
square
#A02C8A #A07C2C #2CA042 #2C50A0
split-complementary
#A02C8A #50A02C #2CA07C
monochromatic
#401237 #701F61 #A02C8A #CA3FB0 #D76FC4

Accessibility & contrast

On white

6.52
#A02C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A02C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02C8A
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02C8A#FFFFFF#000000##FFFFFF
##A02C8A1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F528D
Deuteranopia (green-blind)
#566487
Tritanopia (blue-blind)
#A83357
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a02c8a;
/* rgb */ color: rgb(160, 44, 138);
/* oklch */ color: oklch(50.5% 0.182 336.7);
Tailwind
colors: {
  custom: {
    50: '#c070ac',
    500: '#a02c8a',
    950: '#000000',
  },
}
SCSS
$custom: #a02c8a;
$custom-light: #c070ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a02c8a",
  "rgb": {
    "r": 160,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 311.379,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.50483,
    "c": 0.18227,
    "h": 336.7
  },
  "luminance": 0.1111
}

Semantic roles & 50–950 ramp

primary
#A02C8A
secondary
#69BF79
accent
#E06548
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A02C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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