#AF489A#AF489A

#AF489A is a mid, vivid pink. Relative luminance 0.161; OKLCH L 56.5% C 0.166 H 336.2°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#AF489A
RGBrgb(175, 72, 154)
HSLhsl(312, 42%, 48%)
HSVhsv(312, 59%, 69%)
CMYKcmyk(0%, 58.9%, 12%, 31.4%)
CIE-LABlab(47.08, 51.95, -24.63)
CIE-LCHlch(47.08, 57.49, 334.63°)
OKLaboklab(56.53% 0.1516 -0.0668)
OKLCHoklch(56.53% 0.166 336.2)
XYZxyz(25.8295, 16.0838, 32.3097)
Luminance0.1608 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF489A #48AF5D
analogous
#9048AF #AF489A #AF4866
triadic
#AF489A #9AAF48 #489AAF
tetradic
#AF489A #AF9048 #48AF5D #4866AF
square
#AF489A #AF9048 #48AF5D #4866AF
split-complementary
#AF489A #66AF48 #48AF90
monochromatic
#58244E #843674 #AF489A #C470B3 #D69BCA

Accessibility & contrast

On white

4.98
#AF489A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#AF489A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF489A
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF489A#FFFFFF#000000##FFFFFF
##AF489A1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49669D
Deuteranopia (green-blind)
#687597
Tritanopia (blue-blind)
#B74D6A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af489a;
/* rgb */ color: rgb(175, 72, 154);
/* oklch */ color: oklch(56.5% 0.166 336.2);
Tailwind
colors: {
  custom: {
    50: '#ca81b8',
    500: '#af489a',
    950: '#000000',
  },
}
SCSS
$custom: #af489a;
$custom-light: #ca81b8;
$custom-dark: #000000;
JSON
{
  "hex": "#af489a",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 154
  },
  "hsl": {
    "h": 312.233,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56533,
    "c": 0.16562,
    "h": 336.2
  },
  "luminance": 0.16082
}

Semantic roles & 50–950 ramp

primary
#AF489A
secondary
#90C29B
accent
#D26F56
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B11
muted
#827C80

Preview Lab

Preview with #AF489A

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

Preview Lab → · Contrast checker → · Palette generator →

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