#AF5FA0#AF5FA0

#AF5FA0 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.0% C 0.133 H 334.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AF5FA0
RGBrgb(175, 95, 160)
HSLhsl(311, 33%, 53%)
HSVhsv(311, 46%, 69%)
CMYKcmyk(0%, 45.7%, 8.6%, 31.4%)
CIE-LABlab(51.65, 41.54, -21.14)
CIE-LCHlch(51.65, 46.61, 333.03°)
OKLaboklab(60% 0.1196 -0.0571)
OKLCHoklch(60% 0.133 334.5)
XYZxyz(28.1165, 19.8381, 35.5991)
Luminance0.1984 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5FA0 #5FAF6E
analogous
#965FAF #AF5FA0 #AF5F78
triadic
#AF5FA0 #A0AF5F #5FA0AF
tetradic
#AF5FA0 #AF965F #5FAF6E #5F78AF
square
#AF5FA0 #AF965F #5FAF6E #5F78AF
split-complementary
#AF5FA0 #78AF5F #5FAF96
monochromatic
#623159 #8B467E #AF5FA0 #C388B8 #D8B1D0

Accessibility & contrast

On white

4.23
#AF5FA0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#AF5FA0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5FA0
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5FA0#FFFFFF#000000##000000
##AF5FA01.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F74A2
Deuteranopia (green-blind)
#747F9E
Tritanopia (blue-blind)
#B66378
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #af5fa0;
/* rgb */ color: rgb(175, 95, 160);
/* oklch */ color: oklch(60.0% 0.133 334.5);
Tailwind
colors: {
  custom: {
    50: '#c88fbc',
    500: '#af5fa0',
    950: '#000000',
  },
}
SCSS
$custom: #af5fa0;
$custom-light: #c88fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#af5fa0",
  "rgb": {
    "r": 175,
    "g": 95,
    "b": 160
  },
  "hsl": {
    "h": 311.25,
    "s": 33.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60004,
    "c": 0.1325,
    "h": 334.5
  },
  "luminance": 0.19836
}

Semantic roles & 50–950 ramp

primary
#AF5FA0
secondary
#A4C6AA
accent
#C9725E
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130C12
muted
#827D81

Preview Lab

Preview with #AF5FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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