#AF587E#AF587E

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

Color values

HEX#AF587E
RGBrgb(175, 88, 126)
HSLhsl(334, 35%, 52%)
HSVhsv(334, 50%, 69%)
CMYKcmyk(0%, 49.7%, 28%, 31.4%)
CIE-LABlab(49.01, 39.87, -4.95)
CIE-LCHlch(49.01, 40.18, 352.92°)
OKLaboklab(57.62% 0.1205 -0.0126)
OKLCHoklch(57.62% 0.121 354)
XYZxyz(24.9357, 17.6019, 21.8188)
Luminance0.1760 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF587E #58AF89
analogous
#AF58AA #AF587E #AF5E58
triadic
#AF587E #7EAF58 #587EAF
tetradic
#AF587E #AAAF58 #58AF89 #5E58AF
square
#AF587E #AAAF58 #58AF89 #5E58AF
split-complementary
#AF587E #58AF5E #58AAAF
monochromatic
#5F2E43 #884160 #AF587E #C3819E #D7ABBE

Accessibility & contrast

On white

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

On black

4.52
#AF587E on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF587E#FFFFFF#000000##FFFFFF
##AF587E1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af587e;
/* rgb */ color: rgb(175, 88, 126);
/* oklch */ color: oklch(57.6% 0.121 354.0);
Tailwind
colors: {
  custom: {
    50: '#c98aa3',
    500: '#af587e',
    950: '#000000',
  },
}
SCSS
$custom: #af587e;
$custom-light: #c98aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#af587e",
  "rgb": {
    "r": 175,
    "g": 88,
    "b": 126
  },
  "hsl": {
    "h": 333.793,
    "s": 35.223,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5762,
    "c": 0.12119,
    "h": 354
  },
  "luminance": 0.176
}

Semantic roles & 50–950 ramp

primary
#AF587E
secondary
#9EC5B4
accent
#CB9B5D
background
#FCF8FA
surface
#F9F0F3
border
#D2CBCD
text
#130C0F
muted
#827D7F

Preview Lab

Preview with #AF587E

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

Preview Lab → · Contrast checker → · Palette generator →

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