#AF487C#AF487C

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

Color values

HEX#AF487C
RGBrgb(175, 72, 124)
HSLhsl(330, 42%, 48%)
HSVhsv(330, 59%, 69%)
CMYKcmyk(0%, 58.9%, 29.1%, 31.4%)
CIE-LABlab(45.92, 47.55, -8.35)
CIE-LCHlch(45.92, 48.27, 350.04°)
OKLaboklab(55.29% 0.1442 -0.0216)
OKLCHoklch(55.29% 0.146 351.5)
XYZxyz(23.6357, 15.2062, 20.7552)
Luminance0.1520 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF487C #48AF7B
analogous
#AE48AF #AF487C #AF4848
triadic
#AF487C #7CAF48 #487CAF
tetradic
#AF487C #AFAE48 #48AF7B #4848AF
square
#AF487C #AFAE48 #48AF7B #4848AF
split-complementary
#AF487C #48AF48 #48AFAE
monochromatic
#58243F #84365D #AF487C #C4709B #D69BB9

Accessibility & contrast

On white

5.20
#AF487C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#AF487C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF487C
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF487C#FFFFFF#000000##FFFFFF
##AF487C1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56617E
Deuteranopia (green-blind)
#72747A
Tritanopia (blue-blind)
#BB435C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af487c;
/* rgb */ color: rgb(175, 72, 124);
/* oklch */ color: oklch(55.3% 0.146 351.5);
Tailwind
colors: {
  custom: {
    50: '#ca80a1',
    500: '#af487c',
    950: '#000000',
  },
}
SCSS
$custom: #af487c;
$custom-light: #ca80a1;
$custom-dark: #000000;
JSON
{
  "hex": "#af487c",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 124
  },
  "hsl": {
    "h": 329.709,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55286,
    "c": 0.14584,
    "h": 351.5
  },
  "luminance": 0.15204
}

Semantic roles & 50–950 ramp

primary
#AF487C
secondary
#90C2A9
accent
#D29356
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140A0F
muted
#827C7E

Preview Lab

Preview with #AF487C

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

Preview Lab → · Contrast checker → · Palette generator →

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