#AF5488#AF5488

#AF5488 is a mid, vivid pink. Relative luminance 0.172; OKLCH L 57.4% C 0.133 H 346.7°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#AF5488
RGBrgb(175, 84, 136)
HSLhsl(326, 36%, 51%)
HSVhsv(326, 52%, 69%)
CMYKcmyk(0%, 52%, 22.3%, 31.4%)
CIE-LABlab(48.55, 43.36, -11.63)
CIE-LCHlch(48.55, 44.89, 344.99°)
OKLaboklab(57.39% 0.1299 -0.0306)
OKLCHoklch(57.39% 0.133 346.7)
XYZxyz(25.2941, 17.2343, 25.2821)
Luminance0.1723 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5488 #54AF7B
analogous
#A854AF #AF5488 #AF545A
triadic
#AF5488 #88AF54 #5488AF
tetradic
#AF5488 #AFA854 #54AF7B #545AAF
square
#AF5488 #AFA854 #54AF7B #545AAF
split-complementary
#AF5488 #5AAF54 #54AFA8
monochromatic
#5D2C48 #873F68 #AF5488 #C37EA5 #D6A7C2

Accessibility & contrast

On white

4.72
#AF5488 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#AF5488 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5488
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5488#FFFFFF#000000##FFFFFF
##AF54881.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6A8A
Deuteranopia (green-blind)
#757986
Tritanopia (blue-blind)
#B95268
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af5488;
/* rgb */ color: rgb(175, 84, 136);
/* oklch */ color: oklch(57.4% 0.133 346.7);
Tailwind
colors: {
  custom: {
    50: '#c987aa',
    500: '#af5488',
    950: '#000000',
  },
}
SCSS
$custom: #af5488;
$custom-light: #c987aa;
$custom-dark: #000000;
JSON
{
  "hex": "#af5488",
  "rgb": {
    "r": 175,
    "g": 84,
    "b": 136
  },
  "hsl": {
    "h": 325.714,
    "s": 36.255,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57389,
    "c": 0.13348,
    "h": 346.7
  },
  "luminance": 0.17232
}

Semantic roles & 50–950 ramp

primary
#AF5488
secondary
#9BC4AD
accent
#CC8C5C
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AF5488

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

Preview Lab → · Contrast checker → · Palette generator →

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