#AF5183#AF5183

#AF5183 is a mid, vivid pink. Relative luminance 0.166; OKLCH L 56.8% C 0.135 H 349.2°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#AF5183
RGBrgb(175, 81, 131)
HSLhsl(328, 37%, 50%)
HSVhsv(328, 54%, 69%)
CMYKcmyk(0%, 53.7%, 25.1%, 31.4%)
CIE-LABlab(47.80, 44.14, -9.76)
CIE-LCHlch(47.80, 45.21, 347.54°)
OKLaboklab(56.77% 0.133 -0.0255)
OKLCHoklch(56.77% 0.135 349.2)
XYZxyz(24.7192, 16.6397, 23.3782)
Luminance0.1664 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5183 #51AF7D
analogous
#AC51AF #AF5183 #AF5154
triadic
#AF5183 #83AF51 #5183AF
tetradic
#AF5183 #AFAC51 #51AF7D #5154AF
square
#AF5183 #AFAC51 #51AF7D #5154AF
split-complementary
#AF5183 #54AF51 #51AFAC
monochromatic
#5C2A44 #853D64 #AF5183 #C27BA1 #D6A5BF

Accessibility & contrast

On white

4.85
#AF5183 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#AF5183 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5183
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5183#FFFFFF#000000##FFFFFF
##AF51831.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6785
Deuteranopia (green-blind)
#757881
Tritanopia (blue-blind)
#BA4E64
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af5183;
/* rgb */ color: rgb(175, 81, 131);
/* oklch */ color: oklch(56.8% 0.135 349.2);
Tailwind
colors: {
  custom: {
    50: '#c985a7',
    500: '#af5183',
    950: '#000000',
  },
}
SCSS
$custom: #af5183;
$custom-light: #c985a7;
$custom-dark: #000000;
JSON
{
  "hex": "#af5183",
  "rgb": {
    "r": 175,
    "g": 81,
    "b": 131
  },
  "hsl": {
    "h": 328.085,
    "s": 37.008,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56771,
    "c": 0.13542,
    "h": 349.2
  },
  "luminance": 0.16638
}

Semantic roles & 50–950 ramp

primary
#AF5183
secondary
#99C3AD
accent
#CD905B
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B0F
muted
#827C7F

Preview Lab

Preview with #AF5183

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

Preview Lab → · Contrast checker → · Palette generator →

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