#AF587D#AF587D

#AF587D is a mid, vivid pink. Relative luminance 0.176; OKLCH L 57.6% C 0.121 H 354.7°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#AF587D
RGBrgb(175, 88, 125)
HSLhsl(334, 35%, 52%)
HSVhsv(334, 50%, 69%)
CMYKcmyk(0%, 49.7%, 28.6%, 31.4%)
CIE-LABlab(48.98, 39.73, -4.40)
CIE-LCHlch(48.98, 39.97, 353.68°)
OKLaboklab(57.59% 0.1202 -0.0111)
OKLCHoklch(57.59% 0.121 354.7)
XYZxyz(24.8715, 17.5762, 21.4807)
Luminance0.1757 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF587D #58AF8A
analogous
#AF58A9 #AF587D #AF5F58
triadic
#AF587D #7DAF58 #587DAF
tetradic
#AF587D #A9AF58 #58AF8A #5F58AF
square
#AF587D #A9AF58 #58AF8A #5F58AF
split-complementary
#AF587D #58AF5F #58A9AF
monochromatic
#5F2E43 #884160 #AF587D #C3819D #D7ABBD

Accessibility & contrast

On white

4.65
#AF587D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF587D
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF587D#FFFFFF#000000##FFFFFF
##AF587D1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#636B7E
Deuteranopia (green-blind)
#7A7A7B
Tritanopia (blue-blind)
#BB5366
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af587d;
/* rgb */ color: rgb(175, 88, 125);
/* oklch */ color: oklch(57.6% 0.121 354.7);
Tailwind
colors: {
  custom: {
    50: '#c98aa2',
    500: '#af587d',
    950: '#000000',
  },
}
SCSS
$custom: #af587d;
$custom-light: #c98aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#af587d",
  "rgb": {
    "r": 175,
    "g": 88,
    "b": 125
  },
  "hsl": {
    "h": 334.483,
    "s": 35.223,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57586,
    "c": 0.12071,
    "h": 354.7
  },
  "luminance": 0.17574
}

Semantic roles & 50–950 ramp

primary
#AF587D
secondary
#9EC5B4
accent
#CB9C5D
background
#FCF8F9
surface
#F9F0F2
border
#D2CBCC
text
#130C0F
muted
#827D7E

Preview Lab

Preview with #AF587D

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

Preview Lab → · Contrast checker → · Palette generator →

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