#AF5696#AF5696

#AF5696 is a mid, vivid pink. Relative luminance 0.180; OKLCH L 58.2% C 0.140 H 339.1°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#AF5696
RGBrgb(175, 86, 150)
HSLhsl(317, 36%, 51%)
HSVhsv(317, 51%, 69%)
CMYKcmyk(0%, 50.9%, 14.3%, 31.4%)
CIE-LABlab(49.46, 44.52, -18.59)
CIE-LCHlch(49.46, 48.25, 337.33°)
OKLaboklab(58.24% 0.1307 -0.0499)
OKLCHoklch(58.24% 0.14 339.1)
XYZxyz(26.5123, 17.9735, 30.9211)
Luminance0.1797 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5696 #56AF6F
analogous
#9B56AF #AF5696 #AF5669
triadic
#AF5696 #96AF56 #5696AF
tetradic
#AF5696 #AF9B56 #56AF6F #5669AF
square
#AF5696 #AF9B56 #56AF6F #5669AF
split-complementary
#AF5696 #69AF56 #56AF9B
monochromatic
#5E2D50 #884074 #AF5696 #C380B0 #D6A9CA

Accessibility & contrast

On white

4.57
#AF5696 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#AF5696 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5696
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5696#FFFFFF#000000##000000
##AF56961.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#596D98
Deuteranopia (green-blind)
#727B94
Tritanopia (blue-blind)
#B8586F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af5696;
/* rgb */ color: rgb(175, 86, 150);
/* oklch */ color: oklch(58.2% 0.140 339.1);
Tailwind
colors: {
  custom: {
    50: '#c989b5',
    500: '#af5696',
    950: '#000000',
  },
}
SCSS
$custom: #af5696;
$custom-light: #c989b5;
$custom-dark: #000000;
JSON
{
  "hex": "#af5696",
  "rgb": {
    "r": 175,
    "g": 86,
    "b": 150
  },
  "hsl": {
    "h": 316.854,
    "s": 35.743,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5824,
    "c": 0.13991,
    "h": 339.1
  },
  "luminance": 0.17972
}

Semantic roles & 50–950 ramp

primary
#AF5696
secondary
#9DC4A8
accent
#CC7B5C
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#130C11
muted
#827D80

Preview Lab

Preview with #AF5696

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

Preview Lab → · Contrast checker → · Palette generator →

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