#AF587F#AF587F

#AF587F is a mid, vivid pink. Relative luminance 0.176; OKLCH L 57.7% C 0.122 H 353.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#AF587F
RGBrgb(175, 88, 127)
HSLhsl(333, 35%, 52%)
HSVhsv(333, 50%, 69%)
CMYKcmyk(0%, 49.7%, 27.4%, 31.4%)
CIE-LABlab(49.04, 40.01, -5.50)
CIE-LCHlch(49.04, 40.39, 352.17°)
OKLaboklab(57.66% 0.1209 -0.014)
OKLCHoklch(57.66% 0.122 353.4)
XYZxyz(25.0005, 17.6278, 22.1604)
Luminance0.1763 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF587F #58AF88
analogous
#AF58AB #AF587F #AF5D58
triadic
#AF587F #7FAF58 #587FAF
tetradic
#AF587F #ABAF58 #58AF88 #5D58AF
square
#AF587F #ABAF58 #58AF88 #5D58AF
split-complementary
#AF587F #58AF5D #58ABAF
monochromatic
#5F2E44 #884161 #AF587F #C3819F #D7ABBE

Accessibility & contrast

On white

4.64
#AF587F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#AF587F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF587F
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF587F#FFFFFF#000000##FFFFFF
##AF587F1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#636B80
Deuteranopia (green-blind)
#7A7A7D
Tritanopia (blue-blind)
#BA5466
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af587f;
/* rgb */ color: rgb(175, 88, 127);
/* oklch */ color: oklch(57.7% 0.122 353.4);
Tailwind
colors: {
  custom: {
    50: '#c98aa4',
    500: '#af587f',
    950: '#000000',
  },
}
SCSS
$custom: #af587f;
$custom-light: #c98aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#af587f",
  "rgb": {
    "r": 175,
    "g": 88,
    "b": 127
  },
  "hsl": {
    "h": 333.103,
    "s": 35.223,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57655,
    "c": 0.12168,
    "h": 353.4
  },
  "luminance": 0.17626
}

Semantic roles & 50–950 ramp

primary
#AF587F
secondary
#9EC5B3
accent
#CB9A5D
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#130C0F
muted
#827D7F

Preview Lab

Preview with #AF587F

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

Preview Lab → · Contrast checker → · Palette generator →

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