#AF587B#AF587B

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

Color values

HEX#AF587B
RGBrgb(175, 88, 123)
HSLhsl(336, 35%, 52%)
HSVhsv(336, 50%, 69%)
CMYKcmyk(0%, 49.7%, 29.7%, 31.4%)
CIE-LABlab(48.92, 39.46, -3.29)
CIE-LCHlch(48.92, 39.59, 355.24°)
OKLaboklab(57.52% 0.1195 -0.0081)
OKLCHoklch(57.52% 0.12 356.1)
XYZxyz(24.7450, 17.5256, 20.8146)
Luminance0.1752 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF587B #58AF8C
analogous
#AF58A7 #AF587B #AF6158
triadic
#AF587B #7BAF58 #587BAF
tetradic
#AF587B #A7AF58 #58AF8C #6158AF
square
#AF587B #A7AF58 #58AF8C #6158AF
split-complementary
#AF587B #58AF61 #58A7AF
monochromatic
#5F2E41 #88415E #AF587B #C3819C #D7ABBC

Accessibility & contrast

On white

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

On black

4.50
#AF587B on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF587B#FFFFFF#000000##FFFFFF
##AF587B1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af587b;
/* rgb */ color: rgb(175, 88, 123);
/* oklch */ color: oklch(57.5% 0.120 356.1);
Tailwind
colors: {
  custom: {
    50: '#c98aa1',
    500: '#af587b',
    950: '#000000',
  },
}
SCSS
$custom: #af587b;
$custom-light: #c98aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#af587b",
  "rgb": {
    "r": 175,
    "g": 88,
    "b": 123
  },
  "hsl": {
    "h": 335.862,
    "s": 35.223,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57519,
    "c": 0.11979,
    "h": 356.1
  },
  "luminance": 0.17523
}

Semantic roles & 50–950 ramp

primary
#AF587B
secondary
#9EC5B5
accent
#CB9F5D
background
#FCF8F9
surface
#F9F0F2
border
#D2CBCC
text
#130C0E
muted
#827D7E

Preview Lab

Preview with #AF587B

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

Preview Lab → · Contrast checker → · Palette generator →

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