#A02E8A#A02E8A

#A02E8A is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.7% C 0.180 H 336.7°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#A02E8A
RGBrgb(160, 46, 138)
HSLhsl(312, 55%, 40%)
HSVhsv(312, 71%, 63%)
CMYKcmyk(0%, 71.2%, 13.8%, 37.3%)
CIE-LABlab(40.02, 56.23, -26.14)
CIE-LCHlch(40.02, 62.00, 335.07°)
OKLaboklab(50.67% 0.1652 -0.0711)
OKLCHoklch(50.67% 0.18 336.7)
XYZxyz(20.0620, 11.2643, 25.1575)
Luminance0.1126 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02E8A #2EA044
analogous
#7D2EA0 #A02E8A #A02E51
triadic
#A02E8A #8AA02E #2E8AA0
tetradic
#A02E8A #A07D2E #2EA044 #2E51A0
square
#A02E8A #A07D2E #2EA044 #2E51A0
split-complementary
#A02E8A #51A02E #2EA07D
monochromatic
#411338 #702061 #A02E8A #C942AF #D672C3

Accessibility & contrast

On white

6.46
#A02E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A02E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02E8A
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02E8A#FFFFFF#000000##FFFFFF
##A02E8A1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31538D
Deuteranopia (green-blind)
#576587
Tritanopia (blue-blind)
#A83558
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a02e8a;
/* rgb */ color: rgb(160, 46, 138);
/* oklch */ color: oklch(50.7% 0.180 336.7);
Tailwind
colors: {
  custom: {
    50: '#c071ac',
    500: '#a02e8a',
    950: '#000000',
  },
}
SCSS
$custom: #a02e8a;
$custom-light: #c071ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a02e8a",
  "rgb": {
    "r": 160,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 311.579,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50667,
    "c": 0.17986,
    "h": 336.7
  },
  "luminance": 0.11263
}

Semantic roles & 50–950 ramp

primary
#A02E8A
secondary
#6CBE7C
accent
#DF6649
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A02E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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