#AF4989#AF4989

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

Color values

HEX#AF4989
RGBrgb(175, 73, 137)
HSLhsl(322, 41%, 49%)
HSVhsv(322, 58%, 69%)
CMYKcmyk(0%, 58.3%, 21.7%, 31.4%)
CIE-LABlab(46.56, 48.88, -15.25)
CIE-LCHlch(46.56, 51.21, 342.68°)
OKLaboklab(55.92% 0.1464 -0.0405)
OKLCHoklch(55.92% 0.152 344.6)
XYZxyz(24.5778, 15.6874, 25.3956)
Luminance0.1568 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4989 #49AF6F
analogous
#A249AF #AF4989 #AF4956
triadic
#AF4989 #89AF49 #4989AF
tetradic
#AF4989 #AFA249 #49AF6F #4956AF
square
#AF4989 #AFA249 #49AF6F #4956AF
split-complementary
#AF4989 #56AF49 #49AFA2
monochromatic
#592545 #843767 #AF4989 #C471A5 #D69CC1

Accessibility & contrast

On white

5.08
#AF4989 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#AF4989 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4989
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4989#FFFFFF#000000##FFFFFF
##AF49891.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52648B
Deuteranopia (green-blind)
#6F7586
Tritanopia (blue-blind)
#BA4863
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af4989;
/* rgb */ color: rgb(175, 73, 137);
/* oklch */ color: oklch(55.9% 0.152 344.6);
Tailwind
colors: {
  custom: {
    50: '#ca81ab',
    500: '#af4989',
    950: '#000000',
  },
}
SCSS
$custom: #af4989;
$custom-light: #ca81ab;
$custom-dark: #000000;
JSON
{
  "hex": "#af4989",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 137
  },
  "hsl": {
    "h": 322.353,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5592,
    "c": 0.15193,
    "h": 344.6
  },
  "luminance": 0.15685
}

Semantic roles & 50–950 ramp

primary
#AF4989
secondary
#91C2A4
accent
#D18457
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B10
muted
#827C7F

Preview Lab

Preview with #AF4989

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

Preview Lab → · Contrast checker → · Palette generator →

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