#A02C8B#A02C8B

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

Color values

HEX#A02C8B
RGBrgb(160, 44, 139)
HSLhsl(311, 57%, 40%)
HSVhsv(311, 73%, 63%)
CMYKcmyk(0%, 72.5%, 13.1%, 37.3%)
CIE-LABlab(39.82, 57.10, -27.07)
CIE-LCHlch(39.82, 63.19, 334.64°)
OKLaboklab(50.53% 0.1675 -0.0737)
OKLCHoklch(50.53% 0.183 336.2)
XYZxyz(20.0584, 11.1408, 25.5151)
Luminance0.1114 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02C8B #2CA041
analogous
#7B2CA0 #A02C8B #A02C51
triadic
#A02C8B #8BA02C #2C8BA0
tetradic
#A02C8B #A07B2C #2CA041 #2C51A0
square
#A02C8B #A07B2C #2CA041 #2C51A0
split-complementary
#A02C8B #51A02C #2CA07B
monochromatic
#401238 #701F61 #A02C8B #CA3FB1 #D76FC5

Accessibility & contrast

On white

6.51
#A02C8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A02C8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02C8B
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02C8B#FFFFFF#000000##FFFFFF
##A02C8B1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E538E
Deuteranopia (green-blind)
#556488
Tritanopia (blue-blind)
#A83458
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a02c8b;
/* rgb */ color: rgb(160, 44, 139);
/* oklch */ color: oklch(50.5% 0.183 336.2);
Tailwind
colors: {
  custom: {
    50: '#c070ad',
    500: '#a02c8b',
    950: '#000000',
  },
}
SCSS
$custom: #a02c8b;
$custom-light: #c070ad;
$custom-dark: #000000;
JSON
{
  "hex": "#a02c8b",
  "rgb": {
    "r": 160,
    "g": 44,
    "b": 139
  },
  "hsl": {
    "h": 310.862,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.50534,
    "c": 0.18298,
    "h": 336.2
  },
  "luminance": 0.11139
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A02C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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