#AF4E89#AF4E89

#AF4E89 is a mid, vivid pink. Relative luminance 0.164; OKLCH L 56.6% C 0.144 H 345.2°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#AF4E89
RGBrgb(175, 78, 137)
HSLhsl(324, 38%, 50%)
HSVhsv(324, 55%, 69%)
CMYKcmyk(0%, 55.4%, 21.7%, 31.4%)
CIE-LABlab(47.46, 46.49, -13.89)
CIE-LCHlch(47.46, 48.52, 343.37°)
OKLaboklab(56.58% 0.1392 -0.0367)
OKLCHoklch(56.58% 0.144 345.2)
XYZxyz(24.9196, 16.3710, 25.5095)
Luminance0.1637 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4E89 #4EAF74
analogous
#A54EAF #AF4E89 #AF4E59
triadic
#AF4E89 #89AF4E #4E89AF
tetradic
#AF4E89 #AFA54E #4EAF74 #4E59AF
square
#AF4E89 #AFA54E #4EAF74 #4E59AF
split-complementary
#AF4E89 #59AF4E #4EAFA5
monochromatic
#5A2847 #853B68 #AF4E89 #C378A5 #D6A2C1

Accessibility & contrast

On white

4.91
#AF4E89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#AF4E89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4E89
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4E89#FFFFFF#000000##FFFFFF
##AF4E891.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57668B
Deuteranopia (green-blind)
#717787
Tritanopia (blue-blind)
#B94D65
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af4e89;
/* rgb */ color: rgb(175, 78, 137);
/* oklch */ color: oklch(56.6% 0.144 345.2);
Tailwind
colors: {
  custom: {
    50: '#c984ab',
    500: '#af4e89',
    950: '#000000',
  },
}
SCSS
$custom: #af4e89;
$custom-light: #c984ab;
$custom-dark: #000000;
JSON
{
  "hex": "#af4e89",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 137
  },
  "hsl": {
    "h": 323.505,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56584,
    "c": 0.14398,
    "h": 345.2
  },
  "luminance": 0.16369
}

Semantic roles & 50–950 ramp

primary
#AF4E89
secondary
#96C3A8
accent
#CE875A
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B10
muted
#827C7F

Preview Lab

Preview with #AF4E89

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

Preview Lab → · Contrast checker → · Palette generator →

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