#AF5486#AF5486

#AF5486 is a mid, vivid pink. Relative luminance 0.172; OKLCH L 57.3% C 0.132 H 347.9°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#AF5486
RGBrgb(175, 84, 134)
HSLhsl(327, 36%, 51%)
HSVhsv(327, 52%, 69%)
CMYKcmyk(0%, 52%, 23.4%, 31.4%)
CIE-LABlab(48.48, 43.07, -10.53)
CIE-LCHlch(48.48, 44.34, 346.25°)
OKLaboklab(57.31% 0.1293 -0.0276)
OKLCHoklch(57.31% 0.132 347.9)
XYZxyz(25.1533, 17.1779, 24.5405)
Luminance0.1718 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5486 #54AF7D
analogous
#AA54AF #AF5486 #AF5458
triadic
#AF5486 #86AF54 #5486AF
tetradic
#AF5486 #AFAA54 #54AF7D #5458AF
square
#AF5486 #AFAA54 #54AF7D #5458AF
split-complementary
#AF5486 #58AF54 #54AFAA
monochromatic
#5D2C47 #873F66 #AF5486 #C37EA4 #D6A7C1

Accessibility & contrast

On white

4.73
#AF5486 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#AF5486 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5486
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5486#FFFFFF#000000##FFFFFF
##AF54861.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6988
Deuteranopia (green-blind)
#757984
Tritanopia (blue-blind)
#BA5267
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af5486;
/* rgb */ color: rgb(175, 84, 134);
/* oklch */ color: oklch(57.3% 0.132 347.9);
Tailwind
colors: {
  custom: {
    50: '#c987a9',
    500: '#af5486',
    950: '#000000',
  },
}
SCSS
$custom: #af5486;
$custom-light: #c987a9;
$custom-dark: #000000;
JSON
{
  "hex": "#af5486",
  "rgb": {
    "r": 175,
    "g": 84,
    "b": 134
  },
  "hsl": {
    "h": 327.033,
    "s": 36.255,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57314,
    "c": 0.13224,
    "h": 347.9
  },
  "luminance": 0.17176
}

Semantic roles & 50–950 ramp

primary
#AF5486
secondary
#9BC4AD
accent
#CC8E5C
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#130B0F
muted
#827C7F

Preview Lab

Preview with #AF5486

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

Preview Lab → · Contrast checker → · Palette generator →

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