#AF586D#AF586D

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

Color values

HEX#AF586D
RGBrgb(175, 88, 109)
HSLhsl(346, 35%, 52%)
HSVhsv(346, 50%, 69%)
CMYKcmyk(0%, 49.7%, 37.7%, 31.4%)
CIE-LABlab(48.51, 37.66, 4.54)
CIE-LCHlch(48.51, 37.93, 6.88°)
OKLaboklab(57.08% 0.1144 0.0122)
OKLCHoklch(57.08% 0.115 6.1)
XYZxyz(23.9305, 17.1998, 16.5246)
Luminance0.1720 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF586D #58AF9A
analogous
#AF5899 #AF586D #AF6F58
triadic
#AF586D #6DAF58 #586DAF
tetradic
#AF586D #99AF58 #58AF9A #6F58AF
square
#AF586D #99AF58 #58AF9A #6F58AF
split-complementary
#AF586D #58AF6F #5899AF
monochromatic
#5F2E39 #884153 #AF586D #C38191 #D7ABB5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF586D#FFFFFF#000000##FFFFFF
##AF586D1.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)
#67696E
Deuteranopia (green-blind)
#7D7A6B
Tritanopia (blue-blind)
#BC5060
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af586d;
/* rgb */ color: rgb(175, 88, 109);
/* oklch */ color: oklch(57.1% 0.115 6.1);
Tailwind
colors: {
  custom: {
    50: '#ca8996',
    500: '#af586d',
    950: '#000000',
  },
}
SCSS
$custom: #af586d;
$custom-light: #ca8996;
$custom-dark: #000000;
JSON
{
  "hex": "#af586d",
  "rgb": {
    "r": 175,
    "g": 88,
    "b": 109
  },
  "hsl": {
    "h": 345.517,
    "s": 35.223,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5708,
    "c": 0.11504,
    "h": 6.1
  },
  "luminance": 0.17198
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF586D

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

Preview Lab → · Contrast checker → · Palette generator →

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