#AF4F89#AF4F89

#AF4F89 is a mid, vivid pink. Relative luminance 0.165; OKLCH L 56.7% C 0.142 H 345.4°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AF4F89
RGBrgb(175, 79, 137)
HSLhsl(324, 38%, 50%)
HSVhsv(324, 55%, 69%)
CMYKcmyk(0%, 54.9%, 21.7%, 31.4%)
CIE-LABlab(47.64, 46.00, -13.61)
CIE-LCHlch(47.64, 47.97, 343.52°)
OKLaboklab(56.72% 0.1377 -0.036)
OKLCHoklch(56.72% 0.142 345.4)
XYZxyz(24.9912, 16.5142, 25.5334)
Luminance0.1651 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4F89 #4FAF75
analogous
#A54FAF #AF4F89 #AF4F59
triadic
#AF4F89 #89AF4F #4F89AF
tetradic
#AF4F89 #AFA54F #4FAF75 #4F59AF
square
#AF4F89 #AFA54F #4FAF75 #4F59AF
split-complementary
#AF4F89 #59AF4F #4FAFA5
monochromatic
#5B2947 #853C68 #AF4F89 #C279A5 #D5A3C1

Accessibility & contrast

On white

4.88
#AF4F89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#AF4F89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4F89
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4F89#FFFFFF#000000##FFFFFF
##AF4F891.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57678B
Deuteranopia (green-blind)
#727787
Tritanopia (blue-blind)
#B94E66
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af4f89;
/* rgb */ color: rgb(175, 79, 137);
/* oklch */ color: oklch(56.7% 0.142 345.4);
Tailwind
colors: {
  custom: {
    50: '#c984ab',
    500: '#af4f89',
    950: '#000000',
  },
}
SCSS
$custom: #af4f89;
$custom-light: #c984ab;
$custom-dark: #000000;
JSON
{
  "hex": "#af4f89",
  "rgb": {
    "r": 175,
    "g": 79,
    "b": 137
  },
  "hsl": {
    "h": 323.75,
    "s": 37.795,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56722,
    "c": 0.14235,
    "h": 345.4
  },
  "luminance": 0.16512
}

Semantic roles & 50–950 ramp

primary
#AF4F89
secondary
#97C3A8
accent
#CE885A
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B10
muted
#827C7F

Preview Lab

Preview with #AF4F89

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

Preview Lab → · Contrast checker → · Palette generator →

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