#AF4D88#AF4D88

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

Color values

HEX#AF4D88
RGBrgb(175, 77, 136)
HSLhsl(324, 39%, 49%)
HSVhsv(324, 56%, 69%)
CMYKcmyk(0%, 56%, 22.3%, 31.4%)
CIE-LABlab(47.24, 46.83, -13.62)
CIE-LCHlch(47.24, 48.77, 343.79°)
OKLaboklab(56.41% 0.1404 -0.036)
OKLCHoklch(56.41% 0.145 345.6)
XYZxyz(24.7777, 16.2014, 25.1100)
Luminance0.1620 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4D88 #4DAF74
analogous
#A54DAF #AF4D88 #AF4D57
triadic
#AF4D88 #88AF4D #4D88AF
tetradic
#AF4D88 #AFA54D #4DAF74 #4D57AF
square
#AF4D88 #AFA54D #4DAF74 #4D57AF
split-complementary
#AF4D88 #57AF4D #4DAFA5
monochromatic
#5A2846 #853A67 #AF4D88 #C376A4 #D6A1C1

Accessibility & contrast

On white

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

On black

4.24
#AF4D88 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF4D88#FFFFFF#000000##FFFFFF
##AF4D881.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56668A
Deuteranopia (green-blind)
#717686
Tritanopia (blue-blind)
#BA4C64
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af4d88;
/* rgb */ color: rgb(175, 77, 136);
/* oklch */ color: oklch(56.4% 0.145 345.6);
Tailwind
colors: {
  custom: {
    50: '#ca83aa',
    500: '#af4d88',
    950: '#000000',
  },
}
SCSS
$custom: #af4d88;
$custom-light: #ca83aa;
$custom-dark: #000000;
JSON
{
  "hex": "#af4d88",
  "rgb": {
    "r": 175,
    "g": 77,
    "b": 136
  },
  "hsl": {
    "h": 323.878,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56409,
    "c": 0.14495,
    "h": 345.6
  },
  "luminance": 0.16199
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF4D88

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

Preview Lab → · Contrast checker → · Palette generator →

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