#AF4687#AF4687

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

Color values

HEX#AF4687
RGBrgb(175, 70, 135)
HSLhsl(323, 43%, 48%)
HSVhsv(323, 60%, 69%)
CMYKcmyk(0%, 60%, 22.9%, 31.4%)
CIE-LABlab(45.97, 49.99, -14.94)
CIE-LCHlch(45.97, 52.17, 343.36°)
OKLaboklab(55.46% 0.1502 -0.0396)
OKLCHoklch(55.46% 0.155 345.2)
XYZxyz(24.2433, 15.2458, 24.5829)
Luminance0.1524 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4687 #46AF6E
analogous
#A246AF #AF4687 #AF4653
triadic
#AF4687 #87AF46 #4687AF
tetradic
#AF4687 #AFA246 #46AF6E #4653AF
square
#AF4687 #AFA246 #46AF6E #4653AF
split-complementary
#AF4687 #53AF46 #46AFA2
monochromatic
#582344 #833565 #AF4687 #C56DA3 #D699BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF4687#FFFFFF#000000##FFFFFF
##AF46871.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)
#506289
Deuteranopia (green-blind)
#6E7384
Tritanopia (blue-blind)
#BA4560
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af4687;
/* rgb */ color: rgb(175, 70, 135);
/* oklch */ color: oklch(55.5% 0.155 345.2);
Tailwind
colors: {
  custom: {
    50: '#ca7faa',
    500: '#af4687',
    950: '#000000',
  },
}
SCSS
$custom: #af4687;
$custom-light: #ca7faa;
$custom-dark: #000000;
JSON
{
  "hex": "#af4687",
  "rgb": {
    "r": 175,
    "g": 70,
    "b": 135
  },
  "hsl": {
    "h": 322.857,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55456,
    "c": 0.15528,
    "h": 345.2
  },
  "luminance": 0.15244
}

Semantic roles & 50–950 ramp

primary
#AF4687
secondary
#8EC2A2
accent
#D38555
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF4687

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

Preview Lab → · Contrast checker → · Palette generator →

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