#AF5397#AF5397

#AF5397 is a mid, vivid pink. Relative luminance 0.175; OKLCH L 57.9% C 0.146 H 338.3°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#AF5397
RGBrgb(175, 83, 151)
HSLhsl(316, 37%, 51%)
HSVhsv(316, 53%, 69%)
CMYKcmyk(0%, 52.6%, 13.7%, 31.4%)
CIE-LABlab(48.93, 46.19, -20.00)
CIE-LCHlch(48.93, 50.34, 336.58°)
OKLaboklab(57.86% 0.1354 -0.0538)
OKLCHoklch(57.86% 0.146 338.3)
XYZxyz(26.3586, 17.5368, 31.2688)
Luminance0.1754 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5397 #53AF6B
analogous
#9953AF #AF5397 #AF5369
triadic
#AF5397 #97AF53 #5397AF
tetradic
#AF5397 #AF9953 #53AF6B #5369AF
square
#AF5397 #AF9953 #53AF6B #5369AF
split-complementary
#AF5397 #69AF53 #53AF99
monochromatic
#5D2B50 #863E74 #AF5397 #C27DB0 #D6A7CA

Accessibility & contrast

On white

4.66
#AF5397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#AF5397 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5397
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5397#FFFFFF#000000##FFFFFF
##AF53971.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566B99
Deuteranopia (green-blind)
#707A95
Tritanopia (blue-blind)
#B7566E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af5397;
/* rgb */ color: rgb(175, 83, 151);
/* oklch */ color: oklch(57.9% 0.146 338.3);
Tailwind
colors: {
  custom: {
    50: '#c987b5',
    500: '#af5397',
    950: '#000000',
  },
}
SCSS
$custom: #af5397;
$custom-light: #c987b5;
$custom-dark: #000000;
JSON
{
  "hex": "#af5397",
  "rgb": {
    "r": 175,
    "g": 83,
    "b": 151
  },
  "hsl": {
    "h": 315.652,
    "s": 36.508,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57855,
    "c": 0.1457,
    "h": 338.3
  },
  "luminance": 0.17535
}

Semantic roles & 50–950 ramp

primary
#AF5397
secondary
#9AC3A5
accent
#CD795B
background
#FCF8FB
surface
#F9F0F6
border
#D2CBD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #AF5397

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

Preview Lab → · Contrast checker → · Palette generator →

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