#AF498B#AF498B

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

Color values

HEX#AF498B
RGBrgb(175, 73, 139)
HSLhsl(321, 41%, 49%)
HSVhsv(321, 58%, 69%)
CMYKcmyk(0%, 58.3%, 20.6%, 31.4%)
CIE-LABlab(46.64, 49.18, -16.33)
CIE-LCHlch(46.64, 51.82, 341.63°)
OKLaboklab(56% 0.147 -0.0435)
OKLCHoklch(56% 0.153 343.5)
XYZxyz(24.7226, 15.7453, 26.1582)
Luminance0.1574 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF498B #49AF6D
analogous
#A049AF #AF498B #AF4958
triadic
#AF498B #8BAF49 #498BAF
tetradic
#AF498B #AFA049 #49AF6D #4958AF
square
#AF498B #AFA049 #49AF6D #4958AF
split-complementary
#AF498B #58AF49 #49AFA0
monochromatic
#592546 #843769 #AF498B #C471A7 #D69CC2

Accessibility & contrast

On white

5.06
#AF498B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#AF498B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF498B
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF498B#FFFFFF#000000##FFFFFF
##AF498B1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51648D
Deuteranopia (green-blind)
#6E7588
Tritanopia (blue-blind)
#B94964
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af498b;
/* rgb */ color: rgb(175, 73, 139);
/* oklch */ color: oklch(56.0% 0.153 343.5);
Tailwind
colors: {
  custom: {
    50: '#ca81ad',
    500: '#af498b',
    950: '#000000',
  },
}
SCSS
$custom: #af498b;
$custom-light: #ca81ad;
$custom-dark: #000000;
JSON
{
  "hex": "#af498b",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 139
  },
  "hsl": {
    "h": 321.176,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56002,
    "c": 0.15324,
    "h": 343.5
  },
  "luminance": 0.15743
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF498B

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

Preview Lab → · Contrast checker → · Palette generator →

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