#AF5090#AF5090

#AF5090 is a mid, vivid pink. Relative luminance 0.169; OKLCH L 57.1% C 0.145 H 341.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#AF5090
RGBrgb(175, 80, 144)
HSLhsl(320, 37%, 50%)
HSVhsv(320, 54%, 69%)
CMYKcmyk(0%, 54.3%, 17.7%, 31.4%)
CIE-LABlab(48.09, 46.57, -17.11)
CIE-LCHlch(48.09, 49.62, 339.82°)
OKLaboklab(57.14% 0.1381 -0.0457)
OKLCHoklch(57.14% 0.145 341.7)
XYZxyz(25.5824, 16.8669, 28.2884)
Luminance0.1686 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5090 #50AF6F
analogous
#9F50AF #AF5090 #AF5060
triadic
#AF5090 #90AF50 #5090AF
tetradic
#AF5090 #AF9F50 #50AF6F #5060AF
square
#AF5090 #AF9F50 #50AF6F #5060AF
split-complementary
#AF5090 #60AF50 #50AF9F
monochromatic
#5B2A4B #853D6D #AF5090 #C27AAB #D5A4C5

Accessibility & contrast

On white

4.80
#AF5090 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#AF5090 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5090
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5090#FFFFFF#000000##FFFFFF
##AF50901.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566892
Deuteranopia (green-blind)
#70788E
Tritanopia (blue-blind)
#B85169
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af5090;
/* rgb */ color: rgb(175, 80, 144);
/* oklch */ color: oklch(57.1% 0.145 341.7);
Tailwind
colors: {
  custom: {
    50: '#c985b0',
    500: '#af5090',
    950: '#000000',
  },
}
SCSS
$custom: #af5090;
$custom-light: #c985b0;
$custom-dark: #000000;
JSON
{
  "hex": "#af5090",
  "rgb": {
    "r": 175,
    "g": 80,
    "b": 144
  },
  "hsl": {
    "h": 319.579,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.57143,
    "c": 0.14548,
    "h": 341.7
  },
  "luminance": 0.16865
}

Semantic roles & 50–950 ramp

primary
#AF5090
secondary
#98C3A6
accent
#CD805B
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AF5090

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

Preview Lab → · Contrast checker → · Palette generator →

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