#AF5673#AF5673

#AF5673 is a mid, moderate pink. Relative luminance 0.170; OKLCH L 57.0% C 0.120 H 1.0°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#AF5673
RGBrgb(175, 86, 115)
HSLhsl(340, 36%, 51%)
HSVhsv(340, 51%, 69%)
CMYKcmyk(0%, 50.9%, 34.3%, 31.4%)
CIE-LABlab(48.27, 39.44, 0.58)
CIE-LCHlch(48.27, 39.45, 0.85°)
OKLaboklab(56.96% 0.1198 0.002)
OKLCHoklch(56.96% 0.12 1)
XYZxyz(24.1026, 17.0096, 18.2301)
Luminance0.1701 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5673 #56AF92
analogous
#AF569F #AF5673 #AF6556
triadic
#AF5673 #73AF56 #5673AF
tetradic
#AF5673 #9FAF56 #56AF92 #6556AF
square
#AF5673 #9FAF56 #56AF92 #6556AF
split-complementary
#AF5673 #56AF65 #569FAF
monochromatic
#5E2D3D #884057 #AF5673 #C38095 #D6A9B8

Accessibility & contrast

On white

4.77
#AF5673 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#AF5673 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5673
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5673#FFFFFF#000000##FFFFFF
##AF56731.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646874
Deuteranopia (green-blind)
#7B7971
Tritanopia (blue-blind)
#BC4F61
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af5673;
/* rgb */ color: rgb(175, 86, 115);
/* oklch */ color: oklch(57.0% 0.120 1.0);
Tailwind
colors: {
  custom: {
    50: '#ca889b',
    500: '#af5673',
    950: '#000000',
  },
}
SCSS
$custom: #af5673;
$custom-light: #ca889b;
$custom-dark: #000000;
JSON
{
  "hex": "#af5673",
  "rgb": {
    "r": 175,
    "g": 86,
    "b": 115
  },
  "hsl": {
    "h": 340.449,
    "s": 35.743,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56955,
    "c": 0.11986,
    "h": 1
  },
  "luminance": 0.17007
}

Semantic roles & 50–950 ramp

primary
#AF5673
secondary
#9DC4B7
accent
#CCA75C
background
#FCF8F9
surface
#F9F0F2
border
#D2CBCC
text
#140C0E
muted
#827D7E

Preview Lab

Preview with #AF5673

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

Preview Lab → · Contrast checker → · Palette generator →

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