#AF588D#AF588D

#AF588D is a mid, vivid pink. Relative luminance 0.180; OKLCH L 58.2% C 0.130 H 344.5°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#AF588D
RGBrgb(175, 88, 141)
HSLhsl(323, 35%, 52%)
HSVhsv(323, 50%, 69%)
CMYKcmyk(0%, 49.7%, 19.4%, 31.4%)
CIE-LABlab(49.52, 42.07, -13.16)
CIE-LCHlch(49.52, 44.08, 342.63°)
OKLaboklab(58.17% 0.1252 -0.0348)
OKLCHoklch(58.17% 0.13 344.5)
XYZxyz(25.9772, 18.0185, 27.3039)
Luminance0.1802 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF588D #58AF7A
analogous
#A658AF #AF588D #AF5862
triadic
#AF588D #8DAF58 #588DAF
tetradic
#AF588D #AFA658 #58AF7A #5862AF
square
#AF588D #AFA658 #58AF7A #5862AF
split-complementary
#AF588D #62AF58 #58AFA6
monochromatic
#5F2E4C #88416D #AF588D #C381A9 #D7ABC5

Accessibility & contrast

On white

4.56
#AF588D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#AF588D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF588D
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF588D#FFFFFF#000000##000000
##AF588D1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6D8F
Deuteranopia (green-blind)
#767B8B
Tritanopia (blue-blind)
#B9586C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af588d;
/* rgb */ color: rgb(175, 88, 141);
/* oklch */ color: oklch(58.2% 0.130 344.5);
Tailwind
colors: {
  custom: {
    50: '#c98aae',
    500: '#af588d',
    950: '#000000',
  },
}
SCSS
$custom: #af588d;
$custom-light: #c98aae;
$custom-dark: #000000;
JSON
{
  "hex": "#af588d",
  "rgb": {
    "r": 175,
    "g": 88,
    "b": 141
  },
  "hsl": {
    "h": 323.448,
    "s": 35.223,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5817,
    "c": 0.12999,
    "h": 344.5
  },
  "luminance": 0.18016
}

Semantic roles & 50–950 ramp

primary
#AF588D
secondary
#9EC5AD
accent
#CB885D
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#130C10
muted
#827D7F

Preview Lab

Preview with #AF588D

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

Preview Lab → · Contrast checker → · Palette generator →

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