#AF4587#AF4587

#AF4587 is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.3% C 0.157 H 345.1°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AF4587
RGBrgb(175, 69, 135)
HSLhsl(323, 43%, 48%)
HSVhsv(323, 61%, 69%)
CMYKcmyk(0%, 60.6%, 22.9%, 31.4%)
CIE-LABlab(45.80, 50.44, -15.20)
CIE-LCHlch(45.80, 52.68, 343.23°)
OKLaboklab(55.33% 0.1515 -0.0403)
OKLCHoklch(55.33% 0.157 345.1)
XYZxyz(24.1813, 15.1217, 24.5622)
Luminance0.1512 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4587 #45AF6D
analogous
#A245AF #AF4587 #AF4552
triadic
#AF4587 #87AF45 #4587AF
tetradic
#AF4587 #AFA245 #45AF6D #4552AF
square
#AF4587 #AFA245 #45AF6D #4552AF
split-complementary
#AF4587 #52AF45 #45AFA2
monochromatic
#572243 #833465 #AF4587 #C56CA4 #D698BF

Accessibility & contrast

On white

5.22
#AF4587 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#AF4587 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4587
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4587#FFFFFF#000000##FFFFFF
##AF45871.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6189
Deuteranopia (green-blind)
#6D7384
Tritanopia (blue-blind)
#BA4460
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af4587;
/* rgb */ color: rgb(175, 69, 135);
/* oklch */ color: oklch(55.3% 0.157 345.1);
Tailwind
colors: {
  custom: {
    50: '#ca7eaa',
    500: '#af4587',
    950: '#000000',
  },
}
SCSS
$custom: #af4587;
$custom-light: #ca7eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#af4587",
  "rgb": {
    "r": 175,
    "g": 69,
    "b": 135
  },
  "hsl": {
    "h": 322.642,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55332,
    "c": 0.1568,
    "h": 345.1
  },
  "luminance": 0.15119
}

Semantic roles & 50–950 ramp

primary
#AF4587
secondary
#8DC2A1
accent
#D38455
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF4587

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

Preview Lab → · Contrast checker → · Palette generator →

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