#AF498D#AF498D

#AF498D is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.1% C 0.155 H 342.5°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#AF498D
RGBrgb(175, 73, 141)
HSLhsl(320, 41%, 49%)
HSVhsv(320, 58%, 69%)
CMYKcmyk(0%, 58.3%, 19.4%, 31.4%)
CIE-LABlab(46.72, 49.47, -17.42)
CIE-LCHlch(46.72, 52.45, 340.61°)
OKLaboklab(56.08% 0.1474 -0.0465)
OKLCHoklch(56.08% 0.155 342.5)
XYZxyz(24.8701, 15.8043, 26.9348)
Luminance0.1580 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF498D #49AF6B
analogous
#9E49AF #AF498D #AF495A
triadic
#AF498D #8DAF49 #498DAF
tetradic
#AF498D #AF9E49 #49AF6B #495AAF
square
#AF498D #AF9E49 #49AF6B #495AAF
split-complementary
#AF498D #5AAF49 #49AF9E
monochromatic
#592547 #84376A #AF498D #C471A8 #D69CC3

Accessibility & contrast

On white

5.05
#AF498D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#AF498D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF498D
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF498D#FFFFFF#000000##FFFFFF
##AF498D1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50648F
Deuteranopia (green-blind)
#6D758A
Tritanopia (blue-blind)
#B94A65
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af498d;
/* rgb */ color: rgb(175, 73, 141);
/* oklch */ color: oklch(56.1% 0.155 342.5);
Tailwind
colors: {
  custom: {
    50: '#ca81ae',
    500: '#af498d',
    950: '#000000',
  },
}
SCSS
$custom: #af498d;
$custom-light: #ca81ae;
$custom-dark: #000000;
JSON
{
  "hex": "#af498d",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 141
  },
  "hsl": {
    "h": 320,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56085,
    "c": 0.1546,
    "h": 342.5
  },
  "luminance": 0.15802
}

Semantic roles & 50–950 ramp

primary
#AF498D
secondary
#91C2A2
accent
#D18057
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B10
muted
#827C7F

Preview Lab

Preview with #AF498D

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

Preview Lab → · Contrast checker → · Palette generator →

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