#A02E8B#A02E8B

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

Color values

HEX#A02E8B
RGBrgb(160, 46, 139)
HSLhsl(311, 55%, 40%)
HSVhsv(311, 71%, 63%)
CMYKcmyk(0%, 71.2%, 13.1%, 37.3%)
CIE-LABlab(40.07, 56.38, -26.67)
CIE-LCHlch(40.07, 62.37, 334.68°)
OKLaboklab(50.72% 0.1653 -0.0726)
OKLCHoklch(50.72% 0.181 336.3)
XYZxyz(20.1347, 11.2934, 25.5405)
Luminance0.1129 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02E8B #2EA043
analogous
#7C2EA0 #A02E8B #A02E52
triadic
#A02E8B #8BA02E #2E8BA0
tetradic
#A02E8B #A07C2E #2EA043 #2E52A0
square
#A02E8B #A07C2E #2EA043 #2E52A0
split-complementary
#A02E8B #52A02E #2EA07C
monochromatic
#411338 #702062 #A02E8B #C942B0 #D672C4

Accessibility & contrast

On white

6.44
#A02E8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A02E8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02E8B
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02E8B#FFFFFF#000000##FFFFFF
##A02E8B1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30538E
Deuteranopia (green-blind)
#566588
Tritanopia (blue-blind)
#A83559
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a02e8b;
/* rgb */ color: rgb(160, 46, 139);
/* oklch */ color: oklch(50.7% 0.181 336.3);
Tailwind
colors: {
  custom: {
    50: '#c071ad',
    500: '#a02e8b',
    950: '#000000',
  },
}
SCSS
$custom: #a02e8b;
$custom-light: #c071ad;
$custom-dark: #000000;
JSON
{
  "hex": "#a02e8b",
  "rgb": {
    "r": 160,
    "g": 46,
    "b": 139
  },
  "hsl": {
    "h": 311.053,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50718,
    "c": 0.18058,
    "h": 336.3
  },
  "luminance": 0.11292
}

Semantic roles & 50–950 ramp

primary
#A02E8B
secondary
#6CBE7B
accent
#DF6549
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A02E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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