#AF3A87#AF3A87

#AF3A87 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.1% C 0.173 H 344.0°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#AF3A87
RGBrgb(175, 58, 135)
HSLhsl(321, 50%, 46%)
HSVhsv(321, 67%, 69%)
CMYKcmyk(0%, 66.9%, 22.9%, 31.4%)
CIE-LABlab(44.08, 55.16, -17.83)
CIE-LCHlch(44.08, 57.97, 342.09°)
OKLaboklab(54.06% 0.1659 -0.0475)
OKLCHoklch(54.06% 0.173 344)
XYZxyz(23.5662, 13.8917, 24.3572)
Luminance0.1389 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3A87 #3AAF62
analogous
#9C3AAF #AF3A87 #AF3A4C
triadic
#AF3A87 #87AF3A #3A87AF
tetradic
#AF3A87 #AF9C3A #3AAF62 #3A4CAF
square
#AF3A87 #AF9C3A #3AAF62 #3A4CAF
split-complementary
#AF3A87 #4CAF3A #3AAF9C
monochromatic
#531C40 #812B64 #AF3A87 #C95DA4 #D98BBE

Accessibility & contrast

On white

5.56
#AF3A87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#AF3A87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3A87
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3A87#FFFFFF#000000##FFFFFF
##AF3A871.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455C89
Deuteranopia (green-blind)
#686F84
Tritanopia (blue-blind)
#BA395B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af3a87;
/* rgb */ color: rgb(175, 58, 135);
/* oklch */ color: oklch(54.1% 0.173 344.0);
Tailwind
colors: {
  custom: {
    50: '#ca79aa',
    500: '#af3a87',
    950: '#000000',
  },
}
SCSS
$custom: #af3a87;
$custom-light: #ca79aa;
$custom-dark: #000000;
JSON
{
  "hex": "#af3a87",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 135
  },
  "hsl": {
    "h": 320.513,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54064,
    "c": 0.17259,
    "h": 344
  },
  "luminance": 0.13889
}

Semantic roles & 50–950 ramp

primary
#AF3A87
secondary
#82C398
accent
#DA7E4E
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF3A87

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

Preview Lab → · Contrast checker → · Palette generator →

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