#AF4887#AF4887

#AF4887 is a mid, vivid pink. Relative luminance 0.155; OKLCH L 55.7% C 0.152 H 345.5°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#AF4887
RGBrgb(175, 72, 135)
HSLhsl(323, 42%, 48%)
HSVhsv(323, 59%, 69%)
CMYKcmyk(0%, 58.9%, 22.9%, 31.4%)
CIE-LABlab(46.31, 49.06, -14.42)
CIE-LCHlch(46.31, 51.14, 343.62°)
OKLaboklab(55.71% 0.1473 -0.0382)
OKLCHoklch(55.71% 0.152 345.5)
XYZxyz(24.3705, 15.5002, 24.6253)
Luminance0.1550 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4887 #48AF70
analogous
#A348AF #AF4887 #AF4853
triadic
#AF4887 #87AF48 #4887AF
tetradic
#AF4887 #AFA348 #48AF70 #4853AF
square
#AF4887 #AFA348 #48AF70 #4853AF
split-complementary
#AF4887 #53AF48 #48AFA3
monochromatic
#582444 #843666 #AF4887 #C470A3 #D69BBF

Accessibility & contrast

On white

5.12
#AF4887 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#AF4887 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4887
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4887#FFFFFF#000000##FFFFFF
##AF48871.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526389
Deuteranopia (green-blind)
#6F7484
Tritanopia (blue-blind)
#BA4761
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af4887;
/* rgb */ color: rgb(175, 72, 135);
/* oklch */ color: oklch(55.7% 0.152 345.5);
Tailwind
colors: {
  custom: {
    50: '#ca80aa',
    500: '#af4887',
    950: '#000000',
  },
}
SCSS
$custom: #af4887;
$custom-light: #ca80aa;
$custom-dark: #000000;
JSON
{
  "hex": "#af4887",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 135
  },
  "hsl": {
    "h": 323.301,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5571,
    "c": 0.1522,
    "h": 345.5
  },
  "luminance": 0.15498
}

Semantic roles & 50–950 ramp

primary
#AF4887
secondary
#90C2A4
accent
#D28656
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B10
muted
#827C7F

Preview Lab

Preview with #AF4887

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

Preview Lab → · Contrast checker → · Palette generator →

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