#AF588F#AF588F

#AF588F is a mid, vivid pink. Relative luminance 0.181; OKLCH L 58.2% C 0.131 H 343.3°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#AF588F
RGBrgb(175, 88, 143)
HSLhsl(322, 35%, 52%)
HSVhsv(322, 50%, 69%)
CMYKcmyk(0%, 49.7%, 18.3%, 31.4%)
CIE-LABlab(49.59, 42.38, -14.24)
CIE-LCHlch(49.59, 44.71, 341.43°)
OKLaboklab(58.25% 0.1258 -0.0378)
OKLCHoklch(58.25% 0.131 343.3)
XYZxyz(26.1273, 18.0785, 28.0947)
Luminance0.1808 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF588F #58AF78
analogous
#A458AF #AF588F #AF5864
triadic
#AF588F #8FAF58 #588FAF
tetradic
#AF588F #AFA458 #58AF78 #5864AF
square
#AF588F #AFA458 #58AF78 #5864AF
split-complementary
#AF588F #64AF58 #58AFA4
monochromatic
#5F2E4D #88416E #AF588F #C381AB #D7ABC7

Accessibility & contrast

On white

4.55
#AF588F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#AF588F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF588F
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF588F#FFFFFF#000000##000000
##AF588F1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6D91
Deuteranopia (green-blind)
#757B8D
Tritanopia (blue-blind)
#B8586D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af588f;
/* rgb */ color: rgb(175, 88, 143);
/* oklch */ color: oklch(58.2% 0.131 343.3);
Tailwind
colors: {
  custom: {
    50: '#c98aaf',
    500: '#af588f',
    950: '#000000',
  },
}
SCSS
$custom: #af588f;
$custom-light: #c98aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#af588f",
  "rgb": {
    "r": 175,
    "g": 88,
    "b": 143
  },
  "hsl": {
    "h": 322.069,
    "s": 35.223,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58248,
    "c": 0.13138,
    "h": 343.3
  },
  "luminance": 0.18077
}

Semantic roles & 50–950 ramp

primary
#AF588F
secondary
#9EC5AC
accent
#CB855D
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#130C10
muted
#827D7F

Preview Lab

Preview with #AF588F

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

Preview Lab → · Contrast checker → · Palette generator →

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