#AF4A89#AF4A89

#AF4A89 is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.0% C 0.150 H 344.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#AF4A89
RGBrgb(175, 74, 137)
HSLhsl(323, 41%, 49%)
HSVhsv(323, 58%, 69%)
CMYKcmyk(0%, 57.7%, 21.7%, 31.4%)
CIE-LABlab(46.74, 48.41, -14.98)
CIE-LCHlch(46.74, 50.68, 342.81°)
OKLaboklab(56.05% 0.145 -0.0397)
OKLCHoklch(56.05% 0.15 344.7)
XYZxyz(24.6440, 15.8198, 25.4177)
Luminance0.1582 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4A89 #4AAF70
analogous
#A34AAF #AF4A89 #AF4A57
triadic
#AF4A89 #89AF4A #4A89AF
tetradic
#AF4A89 #AFA34A #4AAF70 #4A57AF
square
#AF4A89 #AFA34A #4AAF70 #4A57AF
split-complementary
#AF4A89 #57AF4A #4AAFA3
monochromatic
#592646 #843867 #AF4A89 #C473A5 #D69EC1

Accessibility & contrast

On white

5.04
#AF4A89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#AF4A89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4A89
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4A89#FFFFFF#000000##FFFFFF
##AF4A891.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53648B
Deuteranopia (green-blind)
#6F7586
Tritanopia (blue-blind)
#BA4963
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af4a89;
/* rgb */ color: rgb(175, 74, 137);
/* oklch */ color: oklch(56.0% 0.150 344.7);
Tailwind
colors: {
  custom: {
    50: '#ca81ab',
    500: '#af4a89',
    950: '#000000',
  },
}
SCSS
$custom: #af4a89;
$custom-light: #ca81ab;
$custom-dark: #000000;
JSON
{
  "hex": "#af4a89",
  "rgb": {
    "r": 175,
    "g": 74,
    "b": 137
  },
  "hsl": {
    "h": 322.574,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5605,
    "c": 0.15036,
    "h": 344.7
  },
  "luminance": 0.15818
}

Semantic roles & 50–950 ramp

primary
#AF4A89
secondary
#92C2A4
accent
#D08557
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B10
muted
#827C7F

Preview Lab

Preview with #AF4A89

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

Preview Lab → · Contrast checker → · Palette generator →

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