#AF5185#AF5185

#AF5185 is a mid, vivid pink. Relative luminance 0.167; OKLCH L 56.8% C 0.137 H 348.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#AF5185
RGBrgb(175, 81, 133)
HSLhsl(327, 37%, 50%)
HSVhsv(327, 54%, 69%)
CMYKcmyk(0%, 53.7%, 24%, 31.4%)
CIE-LABlab(47.87, 44.43, -10.85)
CIE-LCHlch(47.87, 45.74, 346.27°)
OKLaboklab(56.85% 0.1336 -0.0285)
OKLCHoklch(56.85% 0.137 348)
XYZxyz(24.8560, 16.6944, 24.0990)
Luminance0.1669 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5185 #51AF7B
analogous
#AA51AF #AF5185 #AF5156
triadic
#AF5185 #85AF51 #5185AF
tetradic
#AF5185 #AFAA51 #51AF7B #5156AF
square
#AF5185 #AFAA51 #51AF7B #5156AF
split-complementary
#AF5185 #56AF51 #51AFAA
monochromatic
#5C2A45 #853D65 #AF5185 #C27BA2 #D6A5C0

Accessibility & contrast

On white

4.84
#AF5185 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#AF5185 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5185
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5185#FFFFFF#000000##FFFFFF
##AF51851.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6887
Deuteranopia (green-blind)
#747883
Tritanopia (blue-blind)
#BA4F65
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af5185;
/* rgb */ color: rgb(175, 81, 133);
/* oklch */ color: oklch(56.8% 0.137 348.0);
Tailwind
colors: {
  custom: {
    50: '#c985a8',
    500: '#af5185',
    950: '#000000',
  },
}
SCSS
$custom: #af5185;
$custom-light: #c985a8;
$custom-dark: #000000;
JSON
{
  "hex": "#af5185",
  "rgb": {
    "r": 175,
    "g": 81,
    "b": 133
  },
  "hsl": {
    "h": 326.809,
    "s": 37.008,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56846,
    "c": 0.1366,
    "h": 348
  },
  "luminance": 0.16692
}

Semantic roles & 50–950 ramp

primary
#AF5185
secondary
#99C3AC
accent
#CD8E5B
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#130B0F
muted
#827C7F

Preview Lab

Preview with #AF5185

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

Preview Lab → · Contrast checker → · Palette generator →

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