#AF488A#AF488A

#AF488A is a mid, vivid pink. Relative luminance 0.156; OKLCH L 55.8% C 0.154 H 343.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#AF488A
RGBrgb(175, 72, 138)
HSLhsl(322, 42%, 48%)
HSVhsv(322, 59%, 69%)
CMYKcmyk(0%, 58.9%, 21.1%, 31.4%)
CIE-LABlab(46.43, 49.50, -16.05)
CIE-LCHlch(46.43, 52.04, 342.03°)
OKLaboklab(55.83% 0.1481 -0.0427)
OKLCHoklch(55.83% 0.154 343.9)
XYZxyz(24.5847, 15.5858, 25.7534)
Luminance0.1558 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF488A #48AF6D
analogous
#A048AF #AF488A #AF4857
triadic
#AF488A #8AAF48 #488AAF
tetradic
#AF488A #AFA048 #48AF6D #4857AF
square
#AF488A #AFA048 #48AF6D #4857AF
split-complementary
#AF488A #57AF48 #48AFA0
monochromatic
#582446 #843668 #AF488A #C470A6 #D69BC1

Accessibility & contrast

On white

5.10
#AF488A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#AF488A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF488A
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF488A#FFFFFF#000000##FFFFFF
##AF488A1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51638C
Deuteranopia (green-blind)
#6E7487
Tritanopia (blue-blind)
#B94863
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af488a;
/* rgb */ color: rgb(175, 72, 138);
/* oklch */ color: oklch(55.8% 0.154 343.9);
Tailwind
colors: {
  custom: {
    50: '#ca80ac',
    500: '#af488a',
    950: '#000000',
  },
}
SCSS
$custom: #af488a;
$custom-light: #ca80ac;
$custom-dark: #000000;
JSON
{
  "hex": "#af488a",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 138
  },
  "hsl": {
    "h": 321.553,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55832,
    "c": 0.15414,
    "h": 343.9
  },
  "luminance": 0.15584
}

Semantic roles & 50–950 ramp

primary
#AF488A
secondary
#90C2A2
accent
#D28356
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B10
muted
#827C7F

Preview Lab

Preview with #AF488A

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

Preview Lab → · Contrast checker → · Palette generator →

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