#AF497E#AF497E

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

Color values

HEX#AF497E
RGBrgb(175, 73, 126)
HSLhsl(329, 41%, 49%)
HSVhsv(329, 58%, 69%)
CMYKcmyk(0%, 58.3%, 28%, 31.4%)
CIE-LABlab(46.16, 47.34, -9.20)
CIE-LCHlch(46.16, 48.23, 349.00°)
OKLaboklab(55.49% 0.1434 -0.0239)
OKLCHoklch(55.49% 0.145 350.5)
XYZxyz(23.8286, 15.3877, 21.4498)
Luminance0.1538 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF497E #49AF7A
analogous
#AD49AF #AF497E #AF494B
triadic
#AF497E #7EAF49 #497EAF
tetradic
#AF497E #AFAD49 #49AF7A #494BAF
square
#AF497E #AFAD49 #49AF7A #494BAF
split-complementary
#AF497E #4BAF49 #49AFAD
monochromatic
#592540 #84375F #AF497E #C4719C #D69CBA

Accessibility & contrast

On white

5.15
#AF497E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF497E
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF497E#FFFFFF#000000##FFFFFF
##AF497E1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566280
Deuteranopia (green-blind)
#72747C
Tritanopia (blue-blind)
#BB455E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af497e;
/* rgb */ color: rgb(175, 73, 126);
/* oklch */ color: oklch(55.5% 0.145 350.5);
Tailwind
colors: {
  custom: {
    50: '#ca81a3',
    500: '#af497e',
    950: '#000000',
  },
}
SCSS
$custom: #af497e;
$custom-light: #ca81a3;
$custom-dark: #000000;
JSON
{
  "hex": "#af497e",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 126
  },
  "hsl": {
    "h": 328.824,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55491,
    "c": 0.14536,
    "h": 350.5
  },
  "luminance": 0.15385
}

Semantic roles & 50–950 ramp

primary
#AF497E
secondary
#91C2A9
accent
#D19257
background
#FCF8FA
surface
#F9EFF3
border
#D2CACD
text
#140B0F
muted
#827C7F

Preview Lab

Preview with #AF497E

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

Preview Lab → · Contrast checker → · Palette generator →

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