#AF586B#AF586B

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

Color values

HEX#AF586B
RGBrgb(175, 88, 107)
HSLhsl(347, 35%, 52%)
HSVhsv(347, 50%, 69%)
CMYKcmyk(0%, 49.7%, 38.9%, 31.4%)
CIE-LABlab(48.46, 37.42, 5.67)
CIE-LCHlch(48.46, 37.85, 8.62°)
OKLaboklab(57.02% 0.1136 0.0151)
OKLCHoklch(57.02% 0.115 7.6)
XYZxyz(23.8240, 17.1572, 15.9641)
Luminance0.1716 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF586B #58AF9C
analogous
#AF5897 #AF586B #AF7158
triadic
#AF586B #6BAF58 #586BAF
tetradic
#AF586B #97AF58 #58AF9C #7158AF
square
#AF586B #97AF58 #58AF9C #7158AF
split-complementary
#AF586B #58AF71 #5897AF
monochromatic
#5F2E38 #884151 #AF586B #C38190 #D7ABB4

Accessibility & contrast

On white

4.74
#AF586B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#AF586B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF586B
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF586B#FFFFFF#000000##FFFFFF
##AF586B1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68696B
Deuteranopia (green-blind)
#7E7969
Tritanopia (blue-blind)
#BC4F5F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af586b;
/* rgb */ color: rgb(175, 88, 107);
/* oklch */ color: oklch(57.0% 0.115 7.6);
Tailwind
colors: {
  custom: {
    50: '#ca8995',
    500: '#af586b',
    950: '#000000',
  },
}
SCSS
$custom: #af586b;
$custom-light: #ca8995;
$custom-dark: #000000;
JSON
{
  "hex": "#af586b",
  "rgb": {
    "r": 175,
    "g": 88,
    "b": 107
  },
  "hsl": {
    "h": 346.897,
    "s": 35.223,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57023,
    "c": 0.11462,
    "h": 7.6
  },
  "luminance": 0.17155
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF586B

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

Preview Lab → · Contrast checker → · Palette generator →

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