#AF586E#AF586E

#AF586E is a mid, moderate pink. Relative luminance 0.172; OKLCH L 57.1% C 0.115 H 5.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#AF586E
RGBrgb(175, 88, 110)
HSLhsl(345, 35%, 52%)
HSVhsv(345, 50%, 69%)
CMYKcmyk(0%, 49.7%, 37.1%, 31.4%)
CIE-LABlab(48.54, 37.78, 3.98)
CIE-LCHlch(48.54, 37.99, 6.02°)
OKLaboklab(57.11% 0.1148 0.0108)
OKLCHoklch(57.11% 0.115 5.4)
XYZxyz(23.9846, 17.2215, 16.8097)
Luminance0.1722 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF586E #58AF99
analogous
#AF589A #AF586E #AF6E58
triadic
#AF586E #6EAF58 #586EAF
tetradic
#AF586E #9AAF58 #58AF99 #6E58AF
square
#AF586E #9AAF58 #58AF99 #6E58AF
split-complementary
#AF586E #58AF6E #589AAF
monochromatic
#5F2E3A #884153 #AF586E #C38192 #D7ABB6

Accessibility & contrast

On white

4.73
#AF586E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#AF586E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF586E
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF586E#FFFFFF#000000##FFFFFF
##AF586E1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#67696F
Deuteranopia (green-blind)
#7D7A6C
Tritanopia (blue-blind)
#BC5060
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af586e;
/* rgb */ color: rgb(175, 88, 110);
/* oklch */ color: oklch(57.1% 0.115 5.4);
Tailwind
colors: {
  custom: {
    50: '#ca8997',
    500: '#af586e',
    950: '#000000',
  },
}
SCSS
$custom: #af586e;
$custom-light: #ca8997;
$custom-dark: #000000;
JSON
{
  "hex": "#af586e",
  "rgb": {
    "r": 175,
    "g": 88,
    "b": 110
  },
  "hsl": {
    "h": 344.828,
    "s": 35.223,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5711,
    "c": 0.11528,
    "h": 5.4
  },
  "luminance": 0.17219
}

Semantic roles & 50–950 ramp

primary
#AF586E
secondary
#9EC5BB
accent
#CBAF5D
background
#FCF8F9
surface
#F9F0F2
border
#D2CBCC
text
#140C0D
muted
#827D7E

Preview Lab

Preview with #AF586E

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

Preview Lab → · Contrast checker → · Palette generator →

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