#AF497F#AF497F

#AF497F is a mid, vivid pink. Relative luminance 0.154; OKLCH L 55.5% C 0.146 H 350.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#AF497F
RGBrgb(175, 73, 127)
HSLhsl(328, 41%, 49%)
HSVhsv(328, 58%, 69%)
CMYKcmyk(0%, 58.3%, 27.4%, 31.4%)
CIE-LABlab(46.20, 47.48, -9.75)
CIE-LCHlch(46.20, 48.47, 348.39°)
OKLaboklab(55.53% 0.1437 -0.0254)
OKLCHoklch(55.53% 0.146 350)
XYZxyz(23.8934, 15.4136, 21.7913)
Luminance0.1541 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF497F #49AF79
analogous
#AC49AF #AF497F #AF494C
triadic
#AF497F #7FAF49 #497FAF
tetradic
#AF497F #AFAC49 #49AF79 #494CAF
square
#AF497F #AFAC49 #49AF79 #494CAF
split-complementary
#AF497F #4CAF49 #49AFAC
monochromatic
#592540 #843760 #AF497F #C4719D #D69CBB

Accessibility & contrast

On white

5.14
#AF497F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#AF497F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF497F
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF497F#FFFFFF#000000##FFFFFF
##AF497F1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556281
Deuteranopia (green-blind)
#71747D
Tritanopia (blue-blind)
#BB455E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af497f;
/* rgb */ color: rgb(175, 73, 127);
/* oklch */ color: oklch(55.5% 0.146 350.0);
Tailwind
colors: {
  custom: {
    50: '#ca81a4',
    500: '#af497f',
    950: '#000000',
  },
}
SCSS
$custom: #af497f;
$custom-light: #ca81a4;
$custom-dark: #000000;
JSON
{
  "hex": "#af497f",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 127
  },
  "hsl": {
    "h": 328.235,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55528,
    "c": 0.14591,
    "h": 350
  },
  "luminance": 0.15411
}

Semantic roles & 50–950 ramp

primary
#AF497F
secondary
#91C2A8
accent
#D19057
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B0F
muted
#827C7F

Preview Lab

Preview with #AF497F

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

Preview Lab → · Contrast checker → · Palette generator →

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