#AF487D#AF487D

#AF487D is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.3% C 0.146 H 350.9°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#AF487D
RGBrgb(175, 72, 125)
HSLhsl(329, 42%, 48%)
HSVhsv(329, 59%, 69%)
CMYKcmyk(0%, 58.9%, 28.6%, 31.4%)
CIE-LABlab(45.95, 47.68, -8.91)
CIE-LCHlch(45.95, 48.50, 349.42°)
OKLaboklab(55.32% 0.1445 -0.0231)
OKLCHoklch(55.32% 0.146 350.9)
XYZxyz(23.6992, 15.2317, 21.0899)
Luminance0.1523 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF487D #48AF7A
analogous
#AD48AF #AF487D #AF484A
triadic
#AF487D #7DAF48 #487DAF
tetradic
#AF487D #AFAD48 #48AF7A #484AAF
square
#AF487D #AFAD48 #48AF7A #484AAF
split-complementary
#AF487D #4AAF48 #48AFAD
monochromatic
#58243F #84365E #AF487D #C4709B #D69BBA

Accessibility & contrast

On white

5.19
#AF487D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#AF487D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF487D
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF487D#FFFFFF#000000##FFFFFF
##AF487D1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55617F
Deuteranopia (green-blind)
#71747B
Tritanopia (blue-blind)
#BB445D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af487d;
/* rgb */ color: rgb(175, 72, 125);
/* oklch */ color: oklch(55.3% 0.146 350.9);
Tailwind
colors: {
  custom: {
    50: '#ca80a2',
    500: '#af487d',
    950: '#000000',
  },
}
SCSS
$custom: #af487d;
$custom-light: #ca80a2;
$custom-dark: #000000;
JSON
{
  "hex": "#af487d",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 125
  },
  "hsl": {
    "h": 329.126,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55323,
    "c": 0.14636,
    "h": 350.9
  },
  "luminance": 0.15229
}

Semantic roles & 50–950 ramp

primary
#AF487D
secondary
#90C2A9
accent
#D29256
background
#FCF8FA
surface
#F9EFF3
border
#D2CACD
text
#140B0F
muted
#827C7F

Preview Lab

Preview with #AF487D

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

Preview Lab → · Contrast checker → · Palette generator →

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