#AF5F99#AF5F99

#AF5F99 is a mid, vivid pink. Relative luminance 0.196; OKLCH L 59.7% C 0.127 H 338.3°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#AF5F99
RGBrgb(175, 95, 153)
HSLhsl(317, 33%, 53%)
HSVhsv(317, 46%, 69%)
CMYKcmyk(0%, 45.7%, 12.6%, 31.4%)
CIE-LABlab(51.38, 40.35, -17.44)
CIE-LCHlch(51.38, 43.95, 336.63°)
OKLaboklab(59.71% 0.1178 -0.0467)
OKLCHoklch(59.71% 0.127 338.3)
XYZxyz(27.5213, 19.6001, 32.4644)
Luminance0.1960 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5F99 #5FAF75
analogous
#9D5FAF #AF5F99 #AF5F71
triadic
#AF5F99 #99AF5F #5F99AF
tetradic
#AF5F99 #AF9D5F #5FAF75 #5F71AF
square
#AF5F99 #AF9D5F #5FAF75 #5F71AF
split-complementary
#AF5F99 #71AF5F #5FAF9D
monochromatic
#623155 #8B4678 #AF5F99 #C388B3 #D8B1CD

Accessibility & contrast

On white

4.27
#AF5F99 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#AF5F99 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5F99
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5F99#FFFFFF#000000##000000
##AF5F991.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#61739B
Deuteranopia (green-blind)
#777F97
Tritanopia (blue-blind)
#B76175
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #af5f99;
/* rgb */ color: rgb(175, 95, 153);
/* oklch */ color: oklch(59.7% 0.127 338.3);
Tailwind
colors: {
  custom: {
    50: '#c88fb7',
    500: '#af5f99',
    950: '#000000',
  },
}
SCSS
$custom: #af5f99;
$custom-light: #c88fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#af5f99",
  "rgb": {
    "r": 175,
    "g": 95,
    "b": 153
  },
  "hsl": {
    "h": 316.5,
    "s": 33.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59711,
    "c": 0.12671,
    "h": 338.3
  },
  "luminance": 0.19598
}

Semantic roles & 50–950 ramp

primary
#AF5F99
secondary
#A4C6AD
accent
#C97C5E
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130C11
muted
#827D80

Preview Lab

Preview with #AF5F99

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

Preview Lab → · Contrast checker → · Palette generator →

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