#AF497A#AF497A

#AF497A is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.3% C 0.143 H 352.8°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#AF497A
RGBrgb(175, 73, 122)
HSLhsl(331, 41%, 49%)
HSVhsv(331, 58%, 69%)
CMYKcmyk(0%, 58.3%, 30.3%, 31.4%)
CIE-LABlab(46.02, 46.81, -6.97)
CIE-LCHlch(46.02, 47.33, 351.53°)
OKLaboklab(55.34% 0.1422 -0.0179)
OKLCHoklch(55.34% 0.143 352.8)
XYZxyz(23.5756, 15.2865, 20.1176)
Luminance0.1528 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF497A #49AF7E
analogous
#AF49AD #AF497A #AF4B49
triadic
#AF497A #7AAF49 #497AAF
tetradic
#AF497A #ADAF49 #49AF7E #4B49AF
square
#AF497A #ADAF49 #49AF7E #4B49AF
split-complementary
#AF497A #49AF4B #49ADAF
monochromatic
#59253E #84375C #AF497A #C47199 #D69CB8

Accessibility & contrast

On white

5.18
#AF497A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#AF497A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF497A
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF497A#FFFFFF#000000##FFFFFF
##AF497A1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57617C
Deuteranopia (green-blind)
#737478
Tritanopia (blue-blind)
#BB445C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af497a;
/* rgb */ color: rgb(175, 73, 122);
/* oklch */ color: oklch(55.3% 0.143 352.8);
Tailwind
colors: {
  custom: {
    50: '#ca80a0',
    500: '#af497a',
    950: '#000000',
  },
}
SCSS
$custom: #af497a;
$custom-light: #ca80a0;
$custom-dark: #000000;
JSON
{
  "hex": "#af497a",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 122
  },
  "hsl": {
    "h": 331.176,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55344,
    "c": 0.14327,
    "h": 352.8
  },
  "luminance": 0.15284
}

Semantic roles & 50–950 ramp

primary
#AF497A
secondary
#91C2AB
accent
#D19657
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E

Preview Lab

Preview with #AF497A

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

Preview Lab → · Contrast checker → · Palette generator →

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