#AF5D99#AF5D99

#AF5D99 is a mid, vivid pink. Relative luminance 0.192; OKLCH L 59.4% C 0.130 H 338.1°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#AF5D99
RGBrgb(175, 93, 153)
HSLhsl(316, 34%, 53%)
HSVhsv(316, 47%, 69%)
CMYKcmyk(0%, 46.9%, 12.6%, 31.4%)
CIE-LABlab(50.97, 41.40, -18.06)
CIE-LCHlch(50.97, 45.17, 336.43°)
OKLaboklab(59.4% 0.1209 -0.0485)
OKLCHoklch(59.4% 0.13 338.1)
XYZxyz(27.3435, 19.2444, 32.4052)
Luminance0.1924 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5D99 #5DAF73
analogous
#9C5DAF #AF5D99 #AF5D70
triadic
#AF5D99 #99AF5D #5D99AF
tetradic
#AF5D99 #AF9C5D #5DAF73 #5D70AF
square
#AF5D99 #AF9C5D #5DAF73 #5D70AF
split-complementary
#AF5D99 #70AF5D #5DAF9C
monochromatic
#613054 #8A4478 #AF5D99 #C386B3 #D7AFCD

Accessibility & contrast

On white

4.33
#AF5D99 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#AF5D99 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5D99
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5D99#FFFFFF#000000##000000
##AF5D991.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F729B
Deuteranopia (green-blind)
#757E97
Tritanopia (blue-blind)
#B75F74
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #af5d99;
/* rgb */ color: rgb(175, 93, 153);
/* oklch */ color: oklch(59.4% 0.130 338.1);
Tailwind
colors: {
  custom: {
    50: '#c98db7',
    500: '#af5d99',
    950: '#000000',
  },
}
SCSS
$custom: #af5d99;
$custom-light: #c98db7;
$custom-dark: #000000;
JSON
{
  "hex": "#af5d99",
  "rgb": {
    "r": 175,
    "g": 93,
    "b": 153
  },
  "hsl": {
    "h": 316.098,
    "s": 33.884,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59404,
    "c": 0.13022,
    "h": 338.1
  },
  "luminance": 0.19243
}

Semantic roles & 50–950 ramp

primary
#AF5D99
secondary
#A2C6AC
accent
#CA7B5E
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130C11
muted
#827D80

Preview Lab

Preview with #AF5D99

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

Preview Lab → · Contrast checker → · Palette generator →

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