#AF586C#AF586C

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

Color values

HEX#AF586C
RGBrgb(175, 88, 108)
HSLhsl(346, 35%, 52%)
HSVhsv(346, 50%, 69%)
CMYKcmyk(0%, 49.7%, 38.3%, 31.4%)
CIE-LABlab(48.48, 37.54, 5.11)
CIE-LCHlch(48.48, 37.89, 7.75°)
OKLaboklab(57.05% 0.114 0.0137)
OKLCHoklch(57.05% 0.115 6.8)
XYZxyz(23.8769, 17.1784, 16.2427)
Luminance0.1718 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF586C #58AF9B
analogous
#AF5898 #AF586C #AF7058
triadic
#AF586C #6CAF58 #586CAF
tetradic
#AF586C #98AF58 #58AF9B #7058AF
square
#AF586C #98AF58 #58AF9B #7058AF
split-complementary
#AF586C #58AF70 #5898AF
monochromatic
#5F2E39 #884152 #AF586C #C38190 #D7ABB5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF586C#FFFFFF#000000##FFFFFF
##AF586C1.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)
#68696C
Deuteranopia (green-blind)
#7E796A
Tritanopia (blue-blind)
#BC505F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af586c;
/* rgb */ color: rgb(175, 88, 108);
/* oklch */ color: oklch(57.1% 0.115 6.8);
Tailwind
colors: {
  custom: {
    50: '#ca8996',
    500: '#af586c',
    950: '#000000',
  },
}
SCSS
$custom: #af586c;
$custom-light: #ca8996;
$custom-dark: #000000;
JSON
{
  "hex": "#af586c",
  "rgb": {
    "r": 175,
    "g": 88,
    "b": 108
  },
  "hsl": {
    "h": 346.207,
    "s": 35.223,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57051,
    "c": 0.11482,
    "h": 6.8
  },
  "luminance": 0.17176
}

Semantic roles & 50–950 ramp

primary
#AF586C
secondary
#9EC5BC
accent
#CBB25D
background
#FCF8F9
surface
#F9F0F1
border
#D2CBCB
text
#140C0D
muted
#827D7E

Preview Lab

Preview with #AF586C

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

Preview Lab → · Contrast checker → · Palette generator →

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