#AF4985#AF4985

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

Color values

HEX#AF4985
RGBrgb(175, 73, 133)
HSLhsl(325, 41%, 49%)
HSVhsv(325, 58%, 69%)
CMYKcmyk(0%, 58.3%, 24%, 31.4%)
CIE-LABlab(46.41, 48.31, -13.06)
CIE-LCHlch(46.41, 50.04, 344.87°)
OKLaboklab(55.76% 0.1454 -0.0344)
OKLCHoklch(55.76% 0.149 346.7)
XYZxyz(24.2962, 15.5747, 23.9124)
Luminance0.1557 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4985 #49AF73
analogous
#A649AF #AF4985 #AF4952
triadic
#AF4985 #85AF49 #4985AF
tetradic
#AF4985 #AFA649 #49AF73 #4952AF
square
#AF4985 #AFA649 #49AF73 #4952AF
split-complementary
#AF4985 #52AF49 #49AFA6
monochromatic
#592543 #843764 #AF4985 #C471A2 #D69CBE

Accessibility & contrast

On white

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

On black

4.11
#AF4985 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF4985#FFFFFF#000000##FFFFFF
##AF49851.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af4985;
/* rgb */ color: rgb(175, 73, 133);
/* oklch */ color: oklch(55.8% 0.149 346.7);
Tailwind
colors: {
  custom: {
    50: '#ca81a8',
    500: '#af4985',
    950: '#000000',
  },
}
SCSS
$custom: #af4985;
$custom-light: #ca81a8;
$custom-dark: #000000;
JSON
{
  "hex": "#af4985",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 133
  },
  "hsl": {
    "h": 324.706,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55759,
    "c": 0.1494,
    "h": 346.7
  },
  "luminance": 0.15573
}

Semantic roles & 50–950 ramp

primary
#AF4985
secondary
#91C2A6
accent
#D18957
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B0F
muted
#827C7F

Preview Lab

Preview with #AF4985

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

Preview Lab → · Contrast checker → · Palette generator →

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