#AF498A#AF498A

#AF498A is a mid, vivid pink. Relative luminance 0.157; OKLCH L 56.0% C 0.153 H 344.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#AF498A
RGBrgb(175, 73, 138)
HSLhsl(322, 41%, 49%)
HSVhsv(322, 58%, 69%)
CMYKcmyk(0%, 58.3%, 21.1%, 31.4%)
CIE-LABlab(46.60, 49.03, -15.79)
CIE-LCHlch(46.60, 51.51, 342.15°)
OKLaboklab(55.96% 0.1467 -0.042)
OKLCHoklch(55.96% 0.153 344)
XYZxyz(24.6499, 15.7162, 25.7751)
Luminance0.1571 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF498A #49AF6E
analogous
#A149AF #AF498A #AF4957
triadic
#AF498A #8AAF49 #498AAF
tetradic
#AF498A #AFA149 #49AF6E #4957AF
square
#AF498A #AFA149 #49AF6E #4957AF
split-complementary
#AF498A #57AF49 #49AFA1
monochromatic
#592546 #843768 #AF498A #C471A6 #D69CC1

Accessibility & contrast

On white

5.07
#AF498A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#AF498A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF498A
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF498A#FFFFFF#000000##FFFFFF
##AF498A1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52648C
Deuteranopia (green-blind)
#6E7587
Tritanopia (blue-blind)
#B94963
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af498a;
/* rgb */ color: rgb(175, 73, 138);
/* oklch */ color: oklch(56.0% 0.153 344.0);
Tailwind
colors: {
  custom: {
    50: '#ca81ac',
    500: '#af498a',
    950: '#000000',
  },
}
SCSS
$custom: #af498a;
$custom-light: #ca81ac;
$custom-dark: #000000;
JSON
{
  "hex": "#af498a",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 138
  },
  "hsl": {
    "h": 321.765,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55961,
    "c": 0.15259,
    "h": 344
  },
  "luminance": 0.15714
}

Semantic roles & 50–950 ramp

primary
#AF498A
secondary
#91C2A3
accent
#D18357
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B10
muted
#827C7F

Preview Lab

Preview with #AF498A

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

Preview Lab → · Contrast checker → · Palette generator →

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