#A02F8A#A02F8A

#A02F8A is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.8% C 0.179 H 336.8°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#A02F8A
RGBrgb(160, 47, 138)
HSLhsl(312, 55%, 41%)
HSVhsv(312, 71%, 63%)
CMYKcmyk(0%, 70.6%, 13.8%, 37.3%)
CIE-LABlab(40.15, 55.86, -25.93)
CIE-LCHlch(40.15, 61.58, 335.10°)
OKLaboklab(50.76% 0.1641 -0.0705)
OKLCHoklch(50.76% 0.179 336.8)
XYZxyz(20.1015, 11.3434, 25.1706)
Luminance0.1134 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02F8A #2FA045
analogous
#7D2FA0 #A02F8A #A02F52
triadic
#A02F8A #8AA02F #2F8AA0
tetradic
#A02F8A #A07D2F #2FA045 #2F52A0
square
#A02F8A #A07D2F #2FA045 #2F52A0
split-complementary
#A02F8A #52A02F #2FA07D
monochromatic
#411338 #712161 #A02F8A #C844AE #D673C3

Accessibility & contrast

On white

6.43
#A02F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A02F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02F8A
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02F8A#FFFFFF#000000##FFFFFF
##A02F8A1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32548D
Deuteranopia (green-blind)
#576587
Tritanopia (blue-blind)
#A83658
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a02f8a;
/* rgb */ color: rgb(160, 47, 138);
/* oklch */ color: oklch(50.8% 0.179 336.8);
Tailwind
colors: {
  custom: {
    50: '#bf72ac',
    500: '#a02f8a',
    950: '#000000',
  },
}
SCSS
$custom: #a02f8a;
$custom-light: #bf72ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a02f8a",
  "rgb": {
    "r": 160,
    "g": 47,
    "b": 138
  },
  "hsl": {
    "h": 311.681,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50762,
    "c": 0.17863,
    "h": 336.8
  },
  "luminance": 0.11342
}

Semantic roles & 50–950 ramp

primary
#A02F8A
secondary
#6DBE7D
accent
#DE674A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A02F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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