#AF499D#AF499D

#AF499D is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.8% C 0.166 H 334.9°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#AF499D
RGBrgb(175, 73, 157)
HSLhsl(311, 41%, 49%)
HSVhsv(311, 58%, 69%)
CMYKcmyk(0%, 58.3%, 10.3%, 31.4%)
CIE-LABlab(47.39, 51.98, -25.95)
CIE-LCHlch(47.39, 58.09, 333.47°)
OKLaboklab(56.8% 0.1508 -0.0705)
OKLCHoklch(56.8% 0.166 334.9)
XYZxyz(26.1477, 16.3153, 33.6638)
Luminance0.1631 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF499D #49AF5B
analogous
#8E49AF #AF499D #AF496A
triadic
#AF499D #9DAF49 #499DAF
tetradic
#AF499D #AF8E49 #49AF5B #496AAF
square
#AF499D #AF8E49 #49AF5B #496AAF
split-complementary
#AF499D #6AAF49 #49AF8E
monochromatic
#592550 #843776 #AF499D #C471B5 #D69CCC

Accessibility & contrast

On white

4.93
#AF499D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#AF499D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF499D
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF499D#FFFFFF#000000##FFFFFF
##AF499D1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4967A0
Deuteranopia (green-blind)
#68769A
Tritanopia (blue-blind)
#B74F6C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af499d;
/* rgb */ color: rgb(175, 73, 157);
/* oklch */ color: oklch(56.8% 0.166 334.9);
Tailwind
colors: {
  custom: {
    50: '#c981ba',
    500: '#af499d',
    950: '#000000',
  },
}
SCSS
$custom: #af499d;
$custom-light: #c981ba;
$custom-dark: #000000;
JSON
{
  "hex": "#af499d",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 157
  },
  "hsl": {
    "h": 310.588,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56798,
    "c": 0.16644,
    "h": 334.9
  },
  "luminance": 0.16313
}

Semantic roles & 50–950 ramp

primary
#AF499D
secondary
#91C29A
accent
#D16C57
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B11
muted
#827C80

Preview Lab

Preview with #AF499D

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

Preview Lab → · Contrast checker → · Palette generator →

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