#AF5084#AF5084

#AF5084 is a mid, vivid pink. Relative luminance 0.165; OKLCH L 56.7% C 0.138 H 348.4°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AF5084
RGBrgb(175, 80, 132)
HSLhsl(327, 37%, 50%)
HSVhsv(327, 54%, 69%)
CMYKcmyk(0%, 54.3%, 24.6%, 31.4%)
CIE-LABlab(47.65, 44.78, -10.59)
CIE-LCHlch(47.65, 46.02, 346.70°)
OKLaboklab(56.67% 0.1348 -0.0277)
OKLCHoklch(56.67% 0.138 348.4)
XYZxyz(24.7135, 16.5194, 23.7123)
Luminance0.1652 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5084 #50AF7B
analogous
#AB50AF #AF5084 #AF5054
triadic
#AF5084 #84AF50 #5084AF
tetradic
#AF5084 #AFAB50 #50AF7B #5054AF
square
#AF5084 #AFAB50 #50AF7B #5054AF
split-complementary
#AF5084 #54AF50 #50AFAB
monochromatic
#5B2A45 #853D64 #AF5084 #C27AA2 #D5A4BF

Accessibility & contrast

On white

4.88
#AF5084 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#AF5084 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5084
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5084#FFFFFF#000000##FFFFFF
##AF50841.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6786
Deuteranopia (green-blind)
#747782
Tritanopia (blue-blind)
#BA4D64
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af5084;
/* rgb */ color: rgb(175, 80, 132);
/* oklch */ color: oklch(56.7% 0.138 348.4);
Tailwind
colors: {
  custom: {
    50: '#c985a7',
    500: '#af5084',
    950: '#000000',
  },
}
SCSS
$custom: #af5084;
$custom-light: #c985a7;
$custom-dark: #000000;
JSON
{
  "hex": "#af5084",
  "rgb": {
    "r": 175,
    "g": 80,
    "b": 132
  },
  "hsl": {
    "h": 327.158,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.56667,
    "c": 0.13763,
    "h": 348.4
  },
  "luminance": 0.16517
}

Semantic roles & 50–950 ramp

primary
#AF5084
secondary
#98C3AB
accent
#CD8E5B
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B0F
muted
#827C7F

Preview Lab

Preview with #AF5084

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

Preview Lab → · Contrast checker → · Palette generator →

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