#AF487A#AF487A

#AF487A is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.2% C 0.145 H 352.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#AF487A
RGBrgb(175, 72, 122)
HSLhsl(331, 42%, 48%)
HSVhsv(331, 59%, 69%)
CMYKcmyk(0%, 58.9%, 30.3%, 31.4%)
CIE-LABlab(45.85, 47.28, -7.24)
CIE-LCHlch(45.85, 47.83, 351.30°)
OKLaboklab(55.21% 0.1436 -0.0186)
OKLCHoklch(55.21% 0.145 352.6)
XYZxyz(23.5105, 15.1562, 20.0958)
Luminance0.1515 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF487A #48AF7D
analogous
#AF48AD #AF487A #AF4A48
triadic
#AF487A #7AAF48 #487AAF
tetradic
#AF487A #ADAF48 #48AF7D #4A48AF
square
#AF487A #ADAF48 #48AF7D #4A48AF
split-complementary
#AF487A #48AF4A #48ADAF
monochromatic
#58243E #84365C #AF487A #C47099 #D69BB8

Accessibility & contrast

On white

5.21
#AF487A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#AF487A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF487A
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF487A#FFFFFF#000000##FFFFFF
##AF487A1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56617C
Deuteranopia (green-blind)
#727378
Tritanopia (blue-blind)
#BB435C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af487a;
/* rgb */ color: rgb(175, 72, 122);
/* oklch */ color: oklch(55.2% 0.145 352.6);
Tailwind
colors: {
  custom: {
    50: '#ca80a0',
    500: '#af487a',
    950: '#000000',
  },
}
SCSS
$custom: #af487a;
$custom-light: #ca80a0;
$custom-dark: #000000;
JSON
{
  "hex": "#af487a",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 122
  },
  "hsl": {
    "h": 330.874,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55213,
    "c": 0.14481,
    "h": 352.6
  },
  "luminance": 0.15154
}

Semantic roles & 50–950 ramp

primary
#AF487A
secondary
#90C2AA
accent
#D29656
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF487A

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

Preview Lab → · Contrast checker → · Palette generator →

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