#AF4986#AF4986

#AF4986 is a mid, vivid pink. Relative luminance 0.156; OKLCH L 55.8% C 0.150 H 346.1°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#AF4986
RGBrgb(175, 73, 134)
HSLhsl(324, 41%, 49%)
HSVhsv(324, 58%, 69%)
CMYKcmyk(0%, 58.3%, 23.4%, 31.4%)
CIE-LABlab(46.45, 48.45, -13.61)
CIE-LCHlch(46.45, 50.33, 344.31°)
OKLaboklab(55.8% 0.1457 -0.0359)
OKLCHoklch(55.8% 0.15 346.1)
XYZxyz(24.3656, 15.6025, 24.2780)
Luminance0.1560 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4986 #49AF72
analogous
#A549AF #AF4986 #AF4953
triadic
#AF4986 #86AF49 #4986AF
tetradic
#AF4986 #AFA549 #49AF72 #4953AF
square
#AF4986 #AFA549 #49AF72 #4953AF
split-complementary
#AF4986 #53AF49 #49AFA5
monochromatic
#592544 #843765 #AF4986 #C471A3 #D69CBF

Accessibility & contrast

On white

5.10
#AF4986 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#AF4986 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4986
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4986#FFFFFF#000000##FFFFFF
##AF49861.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536388
Deuteranopia (green-blind)
#6F7483
Tritanopia (blue-blind)
#BA4761
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af4986;
/* rgb */ color: rgb(175, 73, 134);
/* oklch */ color: oklch(55.8% 0.150 346.1);
Tailwind
colors: {
  custom: {
    50: '#ca81a9',
    500: '#af4986',
    950: '#000000',
  },
}
SCSS
$custom: #af4986;
$custom-light: #ca81a9;
$custom-dark: #000000;
JSON
{
  "hex": "#af4986",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 134
  },
  "hsl": {
    "h": 324.118,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55799,
    "c": 0.15003,
    "h": 346.1
  },
  "luminance": 0.156
}

Semantic roles & 50–950 ramp

primary
#AF4986
secondary
#91C2A5
accent
#D18857
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B0F
muted
#827C7F

Preview Lab

Preview with #AF4986

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

Preview Lab → · Contrast checker → · Palette generator →

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