#AF3A96#AF3A96

#AF3A96 is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.7% C 0.183 H 337.4°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#AF3A96
RGBrgb(175, 58, 150)
HSLhsl(313, 50%, 46%)
HSVhsv(313, 67%, 69%)
CMYKcmyk(0%, 66.9%, 14.3%, 31.4%)
CIE-LABlab(44.72, 57.33, -25.90)
CIE-LCHlch(44.72, 62.91, 335.68°)
OKLaboklab(54.75% 0.1687 -0.0702)
OKLCHoklch(54.75% 0.183 337.4)
XYZxyz(24.6977, 14.3442, 30.3162)
Luminance0.1434 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3A96 #3AAF53
analogous
#8E3AAF #AF3A96 #AF3A5B
triadic
#AF3A96 #96AF3A #3A96AF
tetradic
#AF3A96 #AF8E3A #3AAF53 #3A5BAF
square
#AF3A96 #AF8E3A #3AAF53 #3A5BAF
split-complementary
#AF3A96 #5BAF3A #3AAF8E
monochromatic
#531C47 #812B6F #AF3A96 #C95DB2 #D98BC8

Accessibility & contrast

On white

5.43
#AF3A96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#AF3A96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3A96
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3A96#FFFFFF#000000##FFFFFF
##AF3A961.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5E99
Deuteranopia (green-blind)
#637093
Tritanopia (blue-blind)
#B84063
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af3a96;
/* rgb */ color: rgb(175, 58, 150);
/* oklch */ color: oklch(54.7% 0.183 337.4);
Tailwind
colors: {
  custom: {
    50: '#ca79b5',
    500: '#af3a96',
    950: '#000000',
  },
}
SCSS
$custom: #af3a96;
$custom-light: #ca79b5;
$custom-dark: #000000;
JSON
{
  "hex": "#af3a96",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 150
  },
  "hsl": {
    "h": 312.821,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54747,
    "c": 0.18273,
    "h": 337.4
  },
  "luminance": 0.14342
}

Semantic roles & 50–950 ramp

primary
#AF3A96
secondary
#82C390
accent
#DA6C4E
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF3A96

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

Preview Lab → · Contrast checker → · Palette generator →

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