#A02A8A#A02A8A

#A02A8A is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.3% C 0.185 H 336.6°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#A02A8A
RGBrgb(160, 42, 138)
HSLhsl(311, 58%, 40%)
HSVhsv(311, 74%, 63%)
CMYKcmyk(0%, 73.8%, 13.8%, 37.3%)
CIE-LABlab(39.52, 57.64, -26.91)
CIE-LCHlch(39.52, 63.61, 334.97°)
OKLaboklab(50.31% 0.1694 -0.0733)
OKLCHoklch(50.31% 0.185 336.6)
XYZxyz(19.9130, 10.9663, 25.1078)
Luminance0.1096 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02A8A #2AA040
analogous
#7B2AA0 #A02A8A #A02A4F
triadic
#A02A8A #8AA02A #2A8AA0
tetradic
#A02A8A #A07B2A #2AA040 #2A4FA0
square
#A02A8A #A07B2A #2AA040 #2A4FA0
split-complementary
#A02A8A #4FA02A #2AA07B
monochromatic
#3F1136 #701D60 #A02A8A #CC3CB1 #D86CC4

Accessibility & contrast

On white

6.58
#A02A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A02A8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02A8A
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02A8A#FFFFFF#000000##FFFFFF
##A02A8A1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D528D
Deuteranopia (green-blind)
#556387
Tritanopia (blue-blind)
#A83257
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a02a8a;
/* rgb */ color: rgb(160, 42, 138);
/* oklch */ color: oklch(50.3% 0.185 336.6);
Tailwind
colors: {
  custom: {
    50: '#c06fac',
    500: '#a02a8a',
    950: '#000000',
  },
}
SCSS
$custom: #a02a8a;
$custom-light: #c06fac;
$custom-dark: #000000;
JSON
{
  "hex": "#a02a8a",
  "rgb": {
    "r": 160,
    "g": 42,
    "b": 138
  },
  "hsl": {
    "h": 311.186,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50306,
    "c": 0.18459,
    "h": 336.6
  },
  "luminance": 0.10964
}

Semantic roles & 50–950 ramp

primary
#A02A8A
secondary
#67BF77
accent
#E26346
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A02A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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