#AF5671#AF5671

#AF5671 is a mid, moderate pink. Relative luminance 0.170; OKLCH L 56.9% C 0.119 H 2.4°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#AF5671
RGBrgb(175, 86, 113)
HSLhsl(342, 36%, 51%)
HSVhsv(342, 51%, 69%)
CMYKcmyk(0%, 50.9%, 35.4%, 31.4%)
CIE-LABlab(48.21, 39.19, 1.71)
CIE-LCHlch(48.21, 39.23, 2.49°)
OKLaboklab(56.89% 0.1191 0.0049)
OKLCHoklch(56.89% 0.119 2.4)
XYZxyz(23.9888, 16.9641, 17.6306)
Luminance0.1696 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5671 #56AF94
analogous
#AF569D #AF5671 #AF6756
triadic
#AF5671 #71AF56 #5671AF
tetradic
#AF5671 #9DAF56 #56AF94 #6756AF
square
#AF5671 #9DAF56 #56AF94 #6756AF
split-complementary
#AF5671 #56AF67 #569DAF
monochromatic
#5E2D3C #884056 #AF5671 #C38094 #D6A9B7

Accessibility & contrast

On white

4.78
#AF5671 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#AF5671 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5671
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5671#FFFFFF#000000##FFFFFF
##AF56711.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#656872
Deuteranopia (green-blind)
#7C796F
Tritanopia (blue-blind)
#BC4F60
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af5671;
/* rgb */ color: rgb(175, 86, 113);
/* oklch */ color: oklch(56.9% 0.119 2.4);
Tailwind
colors: {
  custom: {
    50: '#ca8899',
    500: '#af5671',
    950: '#000000',
  },
}
SCSS
$custom: #af5671;
$custom-light: #ca8899;
$custom-dark: #000000;
JSON
{
  "hex": "#af5671",
  "rgb": {
    "r": 175,
    "g": 86,
    "b": 113
  },
  "hsl": {
    "h": 341.798,
    "s": 35.743,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56893,
    "c": 0.11921,
    "h": 2.4
  },
  "luminance": 0.16962
}

Semantic roles & 50–950 ramp

primary
#AF5671
secondary
#9DC4B8
accent
#CCAA5C
background
#FCF8F9
surface
#F9F0F2
border
#D2CBCC
text
#140C0E
muted
#827D7E

Preview Lab

Preview with #AF5671

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

Preview Lab → · Contrast checker → · Palette generator →

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