#AF5697#AF5697

#AF5697 is a mid, vivid pink. Relative luminance 0.180; OKLCH L 58.3% C 0.141 H 338.6°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#AF5697
RGBrgb(175, 86, 151)
HSLhsl(316, 36%, 51%)
HSVhsv(316, 51%, 69%)
CMYKcmyk(0%, 50.9%, 13.7%, 31.4%)
CIE-LABlab(49.50, 44.68, -19.12)
CIE-LCHlch(49.50, 48.60, 336.83°)
OKLaboklab(58.28% 0.131 -0.0514)
OKLCHoklch(58.28% 0.141 338.6)
XYZxyz(26.5932, 18.0058, 31.3470)
Luminance0.1800 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5697 #56AF6E
analogous
#9A56AF #AF5697 #AF566A
triadic
#AF5697 #97AF56 #5697AF
tetradic
#AF5697 #AF9A56 #56AF6E #566AAF
square
#AF5697 #AF9A56 #56AF6E #566AAF
split-complementary
#AF5697 #6AAF56 #56AF9A
monochromatic
#5E2D51 #884074 #AF5697 #C380B1 #D6A9CA

Accessibility & contrast

On white

4.56
#AF5697 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#AF5697 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5697
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5697#FFFFFF#000000##000000
##AF56971.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#596D99
Deuteranopia (green-blind)
#727B95
Tritanopia (blue-blind)
#B7586F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af5697;
/* rgb */ color: rgb(175, 86, 151);
/* oklch */ color: oklch(58.3% 0.141 338.6);
Tailwind
colors: {
  custom: {
    50: '#c989b5',
    500: '#af5697',
    950: '#000000',
  },
}
SCSS
$custom: #af5697;
$custom-light: #c989b5;
$custom-dark: #000000;
JSON
{
  "hex": "#af5697",
  "rgb": {
    "r": 175,
    "g": 86,
    "b": 151
  },
  "hsl": {
    "h": 316.18,
    "s": 35.743,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58282,
    "c": 0.14068,
    "h": 338.6
  },
  "luminance": 0.18004
}

Semantic roles & 50–950 ramp

primary
#AF5697
secondary
#9DC4A7
accent
#CC7A5C
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#130C11
muted
#827D80

Preview Lab

Preview with #AF5697

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

Preview Lab → · Contrast checker → · Palette generator →

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