#AF489D#AF489D

#AF489D is a mid, vivid pink. Relative luminance 0.162; OKLCH L 56.7% C 0.168 H 334.9°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#AF489D
RGBrgb(175, 72, 157)
HSLhsl(310, 42%, 48%)
HSVhsv(310, 59%, 69%)
CMYKcmyk(0%, 58.9%, 10.3%, 31.4%)
CIE-LABlab(47.22, 52.43, -26.21)
CIE-LCHlch(47.22, 58.62, 333.44°)
OKLaboklab(56.67% 0.1521 -0.0712)
OKLCHoklch(56.67% 0.168 334.9)
XYZxyz(26.0825, 16.1850, 33.6420)
Luminance0.1618 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF489D #48AF5A
analogous
#8D48AF #AF489D #AF486A
triadic
#AF489D #9DAF48 #489DAF
tetradic
#AF489D #AF8D48 #48AF5A #486AAF
square
#AF489D #AF8D48 #48AF5A #486AAF
split-complementary
#AF489D #6AAF48 #48AF8D
monochromatic
#58244F #843676 #AF489D #C470B5 #D69BCC

Accessibility & contrast

On white

4.96
#AF489D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#AF489D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF489D
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF489D#FFFFFF#000000##FFFFFF
##AF489D1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4866A0
Deuteranopia (green-blind)
#67769A
Tritanopia (blue-blind)
#B74E6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af489d;
/* rgb */ color: rgb(175, 72, 157);
/* oklch */ color: oklch(56.7% 0.168 334.9);
Tailwind
colors: {
  custom: {
    50: '#ca81ba',
    500: '#af489d',
    950: '#000000',
  },
}
SCSS
$custom: #af489d;
$custom-light: #ca81ba;
$custom-dark: #000000;
JSON
{
  "hex": "#af489d",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 157
  },
  "hsl": {
    "h": 310.485,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56673,
    "c": 0.16796,
    "h": 334.9
  },
  "luminance": 0.16183
}

Semantic roles & 50–950 ramp

primary
#AF489D
secondary
#90C299
accent
#D26C56
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B11
muted
#827C80

Preview Lab

Preview with #AF489D

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

Preview Lab → · Contrast checker → · Palette generator →

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