#AF5083#AF5083

#AF5083 is a mid, vivid pink. Relative luminance 0.165; OKLCH L 56.6% C 0.137 H 349.0°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#AF5083
RGBrgb(175, 80, 131)
HSLhsl(328, 37%, 50%)
HSVhsv(328, 54%, 69%)
CMYKcmyk(0%, 54.3%, 25.1%, 31.4%)
CIE-LABlab(47.61, 44.64, -10.04)
CIE-LCHlch(47.61, 45.76, 347.32°)
OKLaboklab(56.63% 0.1345 -0.0262)
OKLCHoklch(56.63% 0.137 349)
XYZxyz(24.6454, 16.4921, 23.3536)
Luminance0.1649 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5083 #50AF7C
analogous
#AB50AF #AF5083 #AF5054
triadic
#AF5083 #83AF50 #5083AF
tetradic
#AF5083 #AFAB50 #50AF7C #5054AF
square
#AF5083 #AFAB50 #50AF7C #5054AF
split-complementary
#AF5083 #54AF50 #50AFAB
monochromatic
#5B2A44 #853D64 #AF5083 #C27AA1 #D5A4BF

Accessibility & contrast

On white

4.89
#AF5083 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF5083
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5083#FFFFFF#000000##FFFFFF
##AF50831.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af5083;
/* rgb */ color: rgb(175, 80, 131);
/* oklch */ color: oklch(56.6% 0.137 349.0);
Tailwind
colors: {
  custom: {
    50: '#c985a7',
    500: '#af5083',
    950: '#000000',
  },
}
SCSS
$custom: #af5083;
$custom-light: #c985a7;
$custom-dark: #000000;
JSON
{
  "hex": "#af5083",
  "rgb": {
    "r": 175,
    "g": 80,
    "b": 131
  },
  "hsl": {
    "h": 327.789,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.5663,
    "c": 0.13704,
    "h": 349
  },
  "luminance": 0.1649
}

Semantic roles & 50–950 ramp

primary
#AF5083
secondary
#98C3AC
accent
#CD905B
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B0F
muted
#827C7F

Preview Lab

Preview with #AF5083

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

Preview Lab → · Contrast checker → · Palette generator →

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