#AF3A89#AF3A89

#AF3A89 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.2% C 0.174 H 343.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#AF3A89
RGBrgb(175, 58, 137)
HSLhsl(319, 50%, 46%)
HSVhsv(319, 67%, 69%)
CMYKcmyk(0%, 66.9%, 21.7%, 31.4%)
CIE-LABlab(44.16, 55.44, -18.92)
CIE-LCHlch(44.16, 58.58, 341.16°)
OKLaboklab(54.15% 0.1664 -0.0505)
OKLCHoklch(54.15% 0.174 343.1)
XYZxyz(23.7084, 13.9485, 25.1058)
Luminance0.1395 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3A89 #3AAF60
analogous
#9A3AAF #AF3A89 #AF3A4E
triadic
#AF3A89 #89AF3A #3A89AF
tetradic
#AF3A89 #AF9A3A #3AAF60 #3A4EAF
square
#AF3A89 #AF9A3A #3AAF60 #3A4EAF
split-complementary
#AF3A89 #4EAF3A #3AAF9A
monochromatic
#531C41 #812B65 #AF3A89 #C95DA6 #D98BBF

Accessibility & contrast

On white

5.54
#AF3A89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#AF3A89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3A89
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3A89#FFFFFF#000000##FFFFFF
##AF3A891.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445C8B
Deuteranopia (green-blind)
#676F86
Tritanopia (blue-blind)
#BA3A5C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af3a89;
/* rgb */ color: rgb(175, 58, 137);
/* oklch */ color: oklch(54.2% 0.174 343.1);
Tailwind
colors: {
  custom: {
    50: '#ca79ab',
    500: '#af3a89',
    950: '#000000',
  },
}
SCSS
$custom: #af3a89;
$custom-light: #ca79ab;
$custom-dark: #000000;
JSON
{
  "hex": "#af3a89",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 137
  },
  "hsl": {
    "h": 319.487,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54151,
    "c": 0.17387,
    "h": 343.1
  },
  "luminance": 0.13946
}

Semantic roles & 50–950 ramp

primary
#AF3A89
secondary
#82C397
accent
#DA7B4E
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF3A89

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

Preview Lab → · Contrast checker → · Palette generator →

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