#AF3186#AF3186

#AF3186 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.1% C 0.183 H 343.8°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#AF3186
RGBrgb(175, 49, 134)
HSLhsl(320, 56%, 44%)
HSVhsv(320, 72%, 69%)
CMYKcmyk(0%, 72%, 23.4%, 31.4%)
CIE-LABlab(42.81, 58.43, -19.16)
CIE-LCHlch(42.81, 61.49, 341.85°)
OKLaboklab(53.13% 0.1762 -0.0511)
OKLCHoklch(53.13% 0.183 343.8)
XYZxyz(23.0814, 13.0342, 23.8499)
Luminance0.1303 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3186 #31AF5A
analogous
#9931AF #AF3186 #AF3147
triadic
#AF3186 #86AF31 #3186AF
tetradic
#AF3186 #AF9931 #31AF5A #3147AF
square
#AF3186 #AF9931 #31AF5A #3147AF
split-complementary
#AF3186 #47AF31 #31AF99
monochromatic
#4F163D #7F2461 #AF3186 #CE4FA5 #DB7FBD

Accessibility & contrast

On white

5.82
#AF3186 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AF3186 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3186
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3186#FFFFFF#000000##FFFFFF
##AF31861.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5888
Deuteranopia (green-blind)
#656D83
Tritanopia (blue-blind)
#BA3157
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af3186;
/* rgb */ color: rgb(175, 49, 134);
/* oklch */ color: oklch(53.1% 0.183 343.8);
Tailwind
colors: {
  custom: {
    50: '#cb74a9',
    500: '#af3186',
    950: '#000000',
  },
}
SCSS
$custom: #af3186;
$custom-light: #cb74a9;
$custom-dark: #000000;
JSON
{
  "hex": "#af3186",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 134
  },
  "hsl": {
    "h": 319.524,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53128,
    "c": 0.18344,
    "h": 343.8
  },
  "luminance": 0.13032
}

Semantic roles & 50–950 ramp

primary
#AF3186
secondary
#78C491
accent
#E07948
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF3186

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

Preview Lab → · Contrast checker → · Palette generator →

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