#A02E8D#A02E8D

#A02E8D is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.8% C 0.182 H 335.4°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A02E8D
RGBrgb(160, 46, 141)
HSLhsl(310, 55%, 40%)
HSVhsv(310, 71%, 63%)
CMYKcmyk(0%, 71.2%, 11.9%, 37.3%)
CIE-LABlab(40.17, 56.68, -27.74)
CIE-LCHlch(40.17, 63.11, 333.92°)
OKLaboklab(50.82% 0.1656 -0.0757)
OKLCHoklch(50.82% 0.182 335.4)
XYZxyz(20.2822, 11.3524, 26.3172)
Luminance0.1135 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02E8D #2EA041
analogous
#7A2EA0 #A02E8D #A02E54
triadic
#A02E8D #8DA02E #2E8DA0
tetradic
#A02E8D #A07A2E #2EA041 #2E54A0
square
#A02E8D #A07A2E #2EA041 #2E54A0
split-complementary
#A02E8D #54A02E #2EA07A
monochromatic
#411339 #702063 #A02E8D #C942B2 #D672C6

Accessibility & contrast

On white

6.42
#A02E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A02E8D
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02E8D#FFFFFF#000000##FFFFFF
##A02E8D1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5490
Deuteranopia (green-blind)
#55658A
Tritanopia (blue-blind)
#A8365A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a02e8d;
/* rgb */ color: rgb(160, 46, 141);
/* oklch */ color: oklch(50.8% 0.182 335.4);
Tailwind
colors: {
  custom: {
    50: '#c071ae',
    500: '#a02e8d',
    950: '#000000',
  },
}
SCSS
$custom: #a02e8d;
$custom-light: #c071ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a02e8d",
  "rgb": {
    "r": 160,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 310,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.5082,
    "c": 0.18204,
    "h": 335.4
  },
  "luminance": 0.11351
}

Semantic roles & 50–950 ramp

primary
#A02E8D
secondary
#6CBE79
accent
#DF6249
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A02E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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