#AF499E#AF499E

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

Color values

HEX#AF499E
RGBrgb(175, 73, 158)
HSLhsl(310, 41%, 49%)
HSVhsv(310, 58%, 69%)
CMYKcmyk(0%, 58.3%, 9.7%, 31.4%)
CIE-LABlab(47.43, 52.14, -26.48)
CIE-LCHlch(47.43, 58.48, 333.08°)
OKLaboklab(56.85% 0.1509 -0.072)
OKLCHoklch(56.85% 0.167 334.5)
XYZxyz(26.2334, 16.3496, 34.1152)
Luminance0.1635 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF499E #49AF5A
analogous
#8D49AF #AF499E #AF496B
triadic
#AF499E #9EAF49 #499EAF
tetradic
#AF499E #AF8D49 #49AF5A #496BAF
square
#AF499E #AF8D49 #49AF5A #496BAF
split-complementary
#AF499E #6BAF49 #49AF8D
monochromatic
#592550 #843777 #AF499E #C471B6 #D69CCC

Accessibility & contrast

On white

4.92
#AF499E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#AF499E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF499E
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF499E#FFFFFF#000000##FFFFFF
##AF499E1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4867A1
Deuteranopia (green-blind)
#67769B
Tritanopia (blue-blind)
#B74F6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af499e;
/* rgb */ color: rgb(175, 73, 158);
/* oklch */ color: oklch(56.8% 0.167 334.5);
Tailwind
colors: {
  custom: {
    50: '#c981bb',
    500: '#af499e',
    950: '#000000',
  },
}
SCSS
$custom: #af499e;
$custom-light: #c981bb;
$custom-dark: #000000;
JSON
{
  "hex": "#af499e",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 158
  },
  "hsl": {
    "h": 310,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56845,
    "c": 0.16723,
    "h": 334.5
  },
  "luminance": 0.16348
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF499E

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

Preview Lab → · Contrast checker → · Palette generator →

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