#AF586F#AF586F

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

Color values

HEX#AF586F
RGBrgb(175, 88, 111)
HSLhsl(344, 35%, 52%)
HSVhsv(344, 50%, 69%)
CMYKcmyk(0%, 49.7%, 36.6%, 31.4%)
CIE-LABlab(48.57, 37.90, 3.42)
CIE-LCHlch(48.57, 38.06, 5.15°)
OKLaboklab(57.14% 0.1152 0.0093)
OKLCHoklch(57.14% 0.116 4.6)
XYZxyz(24.0394, 17.2434, 17.0981)
Luminance0.1724 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF586F #58AF98
analogous
#AF589B #AF586F #AF6D58
triadic
#AF586F #6FAF58 #586FAF
tetradic
#AF586F #9BAF58 #58AF98 #6D58AF
square
#AF586F #9BAF58 #58AF98 #6D58AF
split-complementary
#AF586F #58AF6D #589BAF
monochromatic
#5F2E3B #884154 #AF586F #C38193 #D7ABB6

Accessibility & contrast

On white

4.72
#AF586F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#AF586F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF586F
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF586F#FFFFFF#000000##FFFFFF
##AF586F1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#676970
Deuteranopia (green-blind)
#7D7A6D
Tritanopia (blue-blind)
#BC5060
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af586f;
/* rgb */ color: rgb(175, 88, 111);
/* oklch */ color: oklch(57.1% 0.116 4.6);
Tailwind
colors: {
  custom: {
    50: '#ca8998',
    500: '#af586f',
    950: '#000000',
  },
}
SCSS
$custom: #af586f;
$custom-light: #ca8998;
$custom-dark: #000000;
JSON
{
  "hex": "#af586f",
  "rgb": {
    "r": 175,
    "g": 88,
    "b": 111
  },
  "hsl": {
    "h": 344.138,
    "s": 35.223,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57139,
    "c": 0.11553,
    "h": 4.6
  },
  "luminance": 0.17241
}

Semantic roles & 50–950 ramp

primary
#AF586F
secondary
#9EC5BA
accent
#CBAE5D
background
#FCF8F9
surface
#F9F0F2
border
#D2CBCC
text
#140C0D
muted
#827D7E

Preview Lab

Preview with #AF586F

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

Preview Lab → · Contrast checker → · Palette generator →

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