#AF4589#AF4589

#AF4589 is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.4% C 0.158 H 344.1°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#AF4589
RGBrgb(175, 69, 137)
HSLhsl(322, 43%, 48%)
HSVhsv(322, 61%, 69%)
CMYKcmyk(0%, 60.6%, 21.7%, 31.4%)
CIE-LABlab(45.88, 50.73, -16.29)
CIE-LCHlch(45.88, 53.28, 342.20°)
OKLaboklab(55.41% 0.152 -0.0433)
OKLCHoklch(55.41% 0.158 344.1)
XYZxyz(24.3234, 15.1786, 25.3108)
Luminance0.1518 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4589 #45AF6B
analogous
#A045AF #AF4589 #AF4554
triadic
#AF4589 #89AF45 #4589AF
tetradic
#AF4589 #AFA045 #45AF6B #4554AF
square
#AF4589 #AFA045 #45AF6B #4554AF
split-complementary
#AF4589 #54AF45 #45AFA0
monochromatic
#572244 #833467 #AF4589 #C56CA5 #D698C0

Accessibility & contrast

On white

5.20
#AF4589 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#AF4589 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4589
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4589#FFFFFF#000000##FFFFFF
##AF45891.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E618B
Deuteranopia (green-blind)
#6D7386
Tritanopia (blue-blind)
#BA4561
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af4589;
/* rgb */ color: rgb(175, 69, 137);
/* oklch */ color: oklch(55.4% 0.158 344.1);
Tailwind
colors: {
  custom: {
    50: '#ca7fab',
    500: '#af4589',
    950: '#000000',
  },
}
SCSS
$custom: #af4589;
$custom-light: #ca7fab;
$custom-dark: #000000;
JSON
{
  "hex": "#af4589",
  "rgb": {
    "r": 175,
    "g": 69,
    "b": 137
  },
  "hsl": {
    "h": 321.509,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55414,
    "c": 0.15808,
    "h": 344.1
  },
  "luminance": 0.15176
}

Semantic roles & 50–950 ramp

primary
#AF4589
secondary
#8DC2A0
accent
#D38255
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF4589

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

Preview Lab → · Contrast checker → · Palette generator →

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