#A02F87#A02F87

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

Color values

HEX#A02F87
RGBrgb(160, 47, 135)
HSLhsl(313, 55%, 41%)
HSVhsv(313, 71%, 63%)
CMYKcmyk(0%, 70.6%, 15.6%, 37.3%)
CIE-LABlab(40.01, 55.41, -24.31)
CIE-LCHlch(40.01, 60.51, 336.31°)
OKLaboklab(50.61% 0.1637 -0.0659)
OKLCHoklch(50.61% 0.176 338.1)
XYZxyz(19.8873, 11.2577, 24.0425)
Luminance0.1126 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02F87 #2FA048
analogous
#802FA0 #A02F87 #A02F4F
triadic
#A02F87 #87A02F #2F87A0
tetradic
#A02F87 #A0802F #2FA048 #2F4FA0
square
#A02F87 #A0802F #2FA048 #2F4FA0
split-complementary
#A02F87 #4FA02F #2FA080
monochromatic
#411337 #71215F #A02F87 #C844AB #D673C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A02F87#FFFFFF#000000##FFFFFF
##A02F871.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)
#345389
Deuteranopia (green-blind)
#586584
Tritanopia (blue-blind)
#A93457
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a02f87;
/* rgb */ color: rgb(160, 47, 135);
/* oklch */ color: oklch(50.6% 0.176 338.1);
Tailwind
colors: {
  custom: {
    50: '#c072aa',
    500: '#a02f87',
    950: '#000000',
  },
}
SCSS
$custom: #a02f87;
$custom-light: #c072aa;
$custom-dark: #000000;
JSON
{
  "hex": "#a02f87",
  "rgb": {
    "r": 160,
    "g": 47,
    "b": 135
  },
  "hsl": {
    "h": 313.274,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50613,
    "c": 0.17649,
    "h": 338.1
  },
  "luminance": 0.11256
}

Semantic roles & 50–950 ramp

primary
#A02F87
secondary
#6DBE7F
accent
#DE6B4A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A02F87

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

Preview Lab → · Contrast checker → · Palette generator →

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