#AF4D85#AF4D85

#AF4D85 is a mid, vivid pink. Relative luminance 0.161; OKLCH L 56.3% C 0.143 H 347.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AF4D85
RGBrgb(175, 77, 133)
HSLhsl(326, 39%, 49%)
HSVhsv(326, 56%, 69%)
CMYKcmyk(0%, 56%, 24%, 31.4%)
CIE-LABlab(47.13, 46.40, -11.98)
CIE-LCHlch(47.13, 47.92, 345.53°)
OKLaboklab(56.29% 0.1396 -0.0315)
OKLCHoklch(56.29% 0.143 347.3)
XYZxyz(24.5675, 16.1174, 24.0028)
Luminance0.1611 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4D85 #4DAF77
analogous
#A84DAF #AF4D85 #AF4D54
triadic
#AF4D85 #85AF4D #4D85AF
tetradic
#AF4D85 #AFA84D #4DAF77 #4D54AF
square
#AF4D85 #AFA84D #4DAF77 #4D54AF
split-complementary
#AF4D85 #54AF4D #4DAFA8
monochromatic
#5A2844 #853A65 #AF4D85 #C376A2 #D6A1BF

Accessibility & contrast

On white

4.97
#AF4D85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#AF4D85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4D85
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4D85#FFFFFF#000000##FFFFFF
##AF4D851.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576587
Deuteranopia (green-blind)
#727683
Tritanopia (blue-blind)
#BA4B63
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af4d85;
/* rgb */ color: rgb(175, 77, 133);
/* oklch */ color: oklch(56.3% 0.143 347.3);
Tailwind
colors: {
  custom: {
    50: '#ca83a8',
    500: '#af4d85',
    950: '#000000',
  },
}
SCSS
$custom: #af4d85;
$custom-light: #ca83a8;
$custom-dark: #000000;
JSON
{
  "hex": "#af4d85",
  "rgb": {
    "r": 175,
    "g": 77,
    "b": 133
  },
  "hsl": {
    "h": 325.714,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56291,
    "c": 0.14308,
    "h": 347.3
  },
  "luminance": 0.16115
}

Semantic roles & 50–950 ramp

primary
#AF4D85
secondary
#95C3A9
accent
#CF8B59
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B0F
muted
#827C7F

Preview Lab

Preview with #AF4D85

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

Preview Lab → · Contrast checker → · Palette generator →

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