#AF4588#AF4588

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

Color values

HEX#AF4588
RGBrgb(175, 69, 136)
HSLhsl(322, 43%, 48%)
HSVhsv(322, 61%, 69%)
CMYKcmyk(0%, 60.6%, 22.3%, 31.4%)
CIE-LABlab(45.84, 50.58, -15.74)
CIE-LCHlch(45.84, 52.98, 342.71°)
OKLaboklab(55.37% 0.1518 -0.0418)
OKLCHoklch(55.37% 0.157 344.6)
XYZxyz(24.2520, 15.1500, 24.9348)
Luminance0.1515 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4588 #45AF6C
analogous
#A145AF #AF4588 #AF4553
triadic
#AF4588 #88AF45 #4588AF
tetradic
#AF4588 #AFA145 #45AF6C #4553AF
square
#AF4588 #AFA145 #45AF6C #4553AF
split-complementary
#AF4588 #53AF45 #45AFA1
monochromatic
#572244 #833466 #AF4588 #C56CA4 #D698BF

Accessibility & contrast

On white

5.21
#AF4588 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#AF4588 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4588
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4588#FFFFFF#000000##FFFFFF
##AF45881.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F618A
Deuteranopia (green-blind)
#6D7385
Tritanopia (blue-blind)
#BA4460
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af4588;
/* rgb */ color: rgb(175, 69, 136);
/* oklch */ color: oklch(55.4% 0.157 344.6);
Tailwind
colors: {
  custom: {
    50: '#ca7eaa',
    500: '#af4588',
    950: '#000000',
  },
}
SCSS
$custom: #af4588;
$custom-light: #ca7eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#af4588",
  "rgb": {
    "r": 175,
    "g": 69,
    "b": 136
  },
  "hsl": {
    "h": 322.075,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55373,
    "c": 0.15744,
    "h": 344.6
  },
  "luminance": 0.15148
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF4588

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

Preview Lab → · Contrast checker → · Palette generator →

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