#AF4D97#AF4D97

#AF4D97 is a mid, vivid pink. Relative luminance 0.167; OKLCH L 57.0% C 0.155 H 337.9°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#AF4D97
RGBrgb(175, 77, 151)
HSLhsl(315, 39%, 49%)
HSVhsv(315, 56%, 69%)
CMYKcmyk(0%, 56%, 13.7%, 31.4%)
CIE-LABlab(47.83, 49.13, -21.70)
CIE-LCHlch(47.83, 53.70, 336.17°)
OKLaboklab(57.04% 0.1441 -0.0585)
OKLCHoklch(57.04% 0.155 337.9)
XYZxyz(25.9193, 16.6581, 31.1224)
Luminance0.1666 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4D97 #4DAF65
analogous
#964DAF #AF4D97 #AF4D66
triadic
#AF4D97 #97AF4D #4D97AF
tetradic
#AF4D97 #AF964D #4DAF65 #4D66AF
square
#AF4D97 #AF964D #4DAF65 #4D66AF
split-complementary
#AF4D97 #66AF4D #4DAF96
monochromatic
#5A284E #853A72 #AF4D97 #C376B0 #D6A1C9

Accessibility & contrast

On white

4.85
#AF4D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#AF4D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4D97
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4D97#FFFFFF#000000##FFFFFF
##AF4D971.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506899
Deuteranopia (green-blind)
#6C7794
Tritanopia (blue-blind)
#B8506B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af4d97;
/* rgb */ color: rgb(175, 77, 151);
/* oklch */ color: oklch(57.0% 0.155 337.9);
Tailwind
colors: {
  custom: {
    50: '#c983b5',
    500: '#af4d97',
    950: '#000000',
  },
}
SCSS
$custom: #af4d97;
$custom-light: #c983b5;
$custom-dark: #000000;
JSON
{
  "hex": "#af4d97",
  "rgb": {
    "r": 175,
    "g": 77,
    "b": 151
  },
  "hsl": {
    "h": 314.694,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57038,
    "c": 0.15549,
    "h": 337.9
  },
  "luminance": 0.16656
}

Semantic roles & 50–950 ramp

primary
#AF4D97
secondary
#95C3A0
accent
#CF7659
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #AF4D97

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

Preview Lab → · Contrast checker → · Palette generator →

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