#AF4D89#AF4D89

#AF4D89 is a mid, vivid pink. Relative luminance 0.162; OKLCH L 56.4% C 0.146 H 345.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#AF4D89
RGBrgb(175, 77, 137)
HSLhsl(323, 39%, 49%)
HSVhsv(323, 56%, 69%)
CMYKcmyk(0%, 56%, 21.7%, 31.4%)
CIE-LABlab(47.27, 46.98, -14.16)
CIE-LCHlch(47.27, 49.07, 343.22°)
OKLaboklab(56.45% 0.1407 -0.0375)
OKLCHoklch(56.45% 0.146 345.1)
XYZxyz(24.8491, 16.2300, 25.4860)
Luminance0.1623 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4D89 #4DAF73
analogous
#A44DAF #AF4D89 #AF4D58
triadic
#AF4D89 #89AF4D #4D89AF
tetradic
#AF4D89 #AFA44D #4DAF73 #4D58AF
square
#AF4D89 #AFA44D #4DAF73 #4D58AF
split-complementary
#AF4D89 #58AF4D #4DAFA4
monochromatic
#5A2846 #853A68 #AF4D89 #C376A5 #D6A1C1

Accessibility & contrast

On white

4.95
#AF4D89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#AF4D89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4D89
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4D89#FFFFFF#000000##FFFFFF
##AF4D891.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56668B
Deuteranopia (green-blind)
#717687
Tritanopia (blue-blind)
#B94C65
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af4d89;
/* rgb */ color: rgb(175, 77, 137);
/* oklch */ color: oklch(56.4% 0.146 345.1);
Tailwind
colors: {
  custom: {
    50: '#c983ab',
    500: '#af4d89',
    950: '#000000',
  },
}
SCSS
$custom: #af4d89;
$custom-light: #c983ab;
$custom-dark: #000000;
JSON
{
  "hex": "#af4d89",
  "rgb": {
    "r": 175,
    "g": 77,
    "b": 137
  },
  "hsl": {
    "h": 323.265,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56449,
    "c": 0.14559,
    "h": 345.1
  },
  "luminance": 0.16228
}

Semantic roles & 50–950 ramp

primary
#AF4D89
secondary
#95C3A7
accent
#CF8759
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B10
muted
#827C7F

Preview Lab

Preview with #AF4D89

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

Preview Lab → · Contrast checker → · Palette generator →

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