#AF587C#AF587C

#AF587C is a mid, vivid pink. Relative luminance 0.175; OKLCH L 57.6% C 0.120 H 355.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#AF587C
RGBrgb(175, 88, 124)
HSLhsl(335, 35%, 52%)
HSVhsv(335, 50%, 69%)
CMYKcmyk(0%, 49.7%, 29.1%, 31.4%)
CIE-LABlab(48.95, 39.59, -3.84)
CIE-LCHlch(48.95, 39.78, 354.46°)
OKLaboklab(57.55% 0.1199 -0.0096)
OKLCHoklch(57.55% 0.12 355.4)
XYZxyz(24.8079, 17.5508, 21.1460)
Luminance0.1755 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF587C #58AF8B
analogous
#AF58A8 #AF587C #AF6058
triadic
#AF587C #7CAF58 #587CAF
tetradic
#AF587C #A8AF58 #58AF8B #6058AF
square
#AF587C #A8AF58 #58AF8B #6058AF
split-complementary
#AF587C #58AF60 #58A8AF
monochromatic
#5F2E42 #88415F #AF587C #C3819C #D7ABBD

Accessibility & contrast

On white

4.66
#AF587C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#AF587C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF587C
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF587C#FFFFFF#000000##FFFFFF
##AF587C1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646B7D
Deuteranopia (green-blind)
#7A7A7A
Tritanopia (blue-blind)
#BB5365
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af587c;
/* rgb */ color: rgb(175, 88, 124);
/* oklch */ color: oklch(57.6% 0.120 355.4);
Tailwind
colors: {
  custom: {
    50: '#c98aa1',
    500: '#af587c',
    950: '#000000',
  },
}
SCSS
$custom: #af587c;
$custom-light: #c98aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#af587c",
  "rgb": {
    "r": 175,
    "g": 88,
    "b": 124
  },
  "hsl": {
    "h": 335.172,
    "s": 35.223,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57552,
    "c": 0.12024,
    "h": 355.4
  },
  "luminance": 0.17549
}

Semantic roles & 50–950 ramp

primary
#AF587C
secondary
#9EC5B5
accent
#CB9D5D
background
#FCF8F9
surface
#F9F0F2
border
#D2CBCC
text
#130C0F
muted
#827D7E

Preview Lab

Preview with #AF587C

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

Preview Lab → · Contrast checker → · Palette generator →

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