#AF3185#AF3185

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

Color values

HEX#AF3185
RGBrgb(175, 49, 133)
HSLhsl(320, 56%, 44%)
HSVhsv(320, 72%, 69%)
CMYKcmyk(0%, 72%, 24%, 31.4%)
CIE-LABlab(42.77, 58.30, -18.61)
CIE-LCHlch(42.77, 61.20, 342.30°)
OKLaboklab(53.08% 0.176 -0.0496)
OKLCHoklch(53.08% 0.183 344.3)
XYZxyz(23.0120, 13.0064, 23.4843)
Luminance0.1300 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3185 #31AF5B
analogous
#9A31AF #AF3185 #AF3146
triadic
#AF3185 #85AF31 #3185AF
tetradic
#AF3185 #AF9A31 #31AF5B #3146AF
square
#AF3185 #AF9A31 #31AF5B #3146AF
split-complementary
#AF3185 #46AF31 #31AF9A
monochromatic
#4F163C #7F2461 #AF3185 #CE4FA4 #DB7FBD

Accessibility & contrast

On white

5.83
#AF3185 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AF3185 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3185
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3185#FFFFFF#000000##FFFFFF
##AF31851.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5887
Deuteranopia (green-blind)
#656D82
Tritanopia (blue-blind)
#BA3057
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af3185;
/* rgb */ color: rgb(175, 49, 133);
/* oklch */ color: oklch(53.1% 0.183 344.3);
Tailwind
colors: {
  custom: {
    50: '#cb74a8',
    500: '#af3185',
    950: '#000000',
  },
}
SCSS
$custom: #af3185;
$custom-light: #cb74a8;
$custom-dark: #000000;
JSON
{
  "hex": "#af3185",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 133
  },
  "hsl": {
    "h": 320,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53084,
    "c": 0.18283,
    "h": 344.3
  },
  "luminance": 0.13004
}

Semantic roles & 50–950 ramp

primary
#AF3185
secondary
#78C491
accent
#E07B48
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AF3185

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

Preview Lab → · Contrast checker → · Palette generator →

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