#AF5C8A#AF5C8A

#AF5C8A is a mid, vivid pink. Relative luminance 0.186; OKLCH L 58.7% C 0.121 H 347.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#AF5C8A
RGBrgb(175, 92, 138)
HSLhsl(327, 34%, 52%)
HSVhsv(327, 47%, 69%)
CMYKcmyk(0%, 47.4%, 21.1%, 31.4%)
CIE-LABlab(50.22, 39.53, -10.31)
CIE-LCHlch(50.22, 40.85, 345.38°)
OKLaboklab(58.66% 0.1181 -0.0271)
OKLCHoklch(58.66% 0.121 347.1)
XYZxyz(26.0944, 18.6052, 26.2566)
Luminance0.1860 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5C8A #5CAF81
analogous
#AA5CAF #AF5C8A #AF5C61
triadic
#AF5C8A #8AAF5C #5C8AAF
tetradic
#AF5C8A #AFAA5C #5CAF81 #5C61AF
square
#AF5C8A #AFAA5C #5CAF81 #5C61AF
split-complementary
#AF5C8A #61AF5C #5CAFAA
monochromatic
#61304B #8A446B #AF5C8A #C385A7 #D7AEC5

Accessibility & contrast

On white

4.45
#AF5C8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#AF5C8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5C8A
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5C8A#FFFFFF#000000##000000
##AF5C8A1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#636F8C
Deuteranopia (green-blind)
#797D88
Tritanopia (blue-blind)
#B95B6D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #af5c8a;
/* rgb */ color: rgb(175, 92, 138);
/* oklch */ color: oklch(58.7% 0.121 347.1);
Tailwind
colors: {
  custom: {
    50: '#c98cac',
    500: '#af5c8a',
    950: '#000000',
  },
}
SCSS
$custom: #af5c8a;
$custom-light: #c98cac;
$custom-dark: #000000;
JSON
{
  "hex": "#af5c8a",
  "rgb": {
    "r": 175,
    "g": 92,
    "b": 138
  },
  "hsl": {
    "h": 326.747,
    "s": 34.156,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58662,
    "c": 0.12117,
    "h": 347.1
  },
  "luminance": 0.18603
}

Semantic roles & 50–950 ramp

primary
#AF5C8A
secondary
#A1C5B1
accent
#CA8E5E
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#130C10
muted
#827D7F

Preview Lab

Preview with #AF5C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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