#AF489C#AF489C

#AF489C is a mid, vivid pink. Relative luminance 0.161; OKLCH L 56.6% C 0.167 H 335.3°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#AF489C
RGBrgb(175, 72, 156)
HSLhsl(311, 42%, 48%)
HSVhsv(311, 59%, 69%)
CMYKcmyk(0%, 58.9%, 10.9%, 31.4%)
CIE-LABlab(47.17, 52.27, -25.69)
CIE-LCHlch(47.17, 58.24, 333.83°)
OKLaboklab(56.63% 0.1519 -0.0698)
OKLCHoklch(56.63% 0.167 335.3)
XYZxyz(25.9975, 16.1510, 33.1942)
Luminance0.1615 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF489C #48AF5B
analogous
#8E48AF #AF489C #AF4868
triadic
#AF489C #9CAF48 #489CAF
tetradic
#AF489C #AF8E48 #48AF5B #4868AF
square
#AF489C #AF8E48 #48AF5B #4868AF
split-complementary
#AF489C #68AF48 #48AF8E
monochromatic
#58244F #843675 #AF489C #C470B5 #D69BCB

Accessibility & contrast

On white

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

On black

4.23
#AF489C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF489C#FFFFFF#000000##FFFFFF
##AF489C1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48669F
Deuteranopia (green-blind)
#687599
Tritanopia (blue-blind)
#B74E6B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af489c;
/* rgb */ color: rgb(175, 72, 156);
/* oklch */ color: oklch(56.6% 0.167 335.3);
Tailwind
colors: {
  custom: {
    50: '#ca81b9',
    500: '#af489c',
    950: '#000000',
  },
}
SCSS
$custom: #af489c;
$custom-light: #ca81b9;
$custom-dark: #000000;
JSON
{
  "hex": "#af489c",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 156
  },
  "hsl": {
    "h": 311.068,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56626,
    "c": 0.16718,
    "h": 335.3
  },
  "luminance": 0.16149
}

Semantic roles & 50–950 ramp

primary
#AF489C
secondary
#90C29A
accent
#D26D56
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B11
muted
#827C80

Preview Lab

Preview with #AF489C

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

Preview Lab → · Contrast checker → · Palette generator →

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