#AF499A#AF499A

#AF499A is a mid, vivid pink. Relative luminance 0.162; OKLCH L 56.7% C 0.164 H 336.3°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#AF499A
RGBrgb(175, 73, 154)
HSLhsl(312, 41%, 49%)
HSVhsv(312, 58%, 69%)
CMYKcmyk(0%, 58.3%, 12%, 31.4%)
CIE-LABlab(47.25, 51.49, -24.37)
CIE-LCHlch(47.25, 56.97, 334.67°)
OKLaboklab(56.66% 0.1502 -0.066)
OKLCHoklch(56.66% 0.164 336.3)
XYZxyz(25.8947, 16.2141, 32.3314)
Luminance0.1621 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF499A #49AF5E
analogous
#9149AF #AF499A #AF4967
triadic
#AF499A #9AAF49 #499AAF
tetradic
#AF499A #AF9149 #49AF5E #4967AF
square
#AF499A #AF9149 #49AF5E #4967AF
split-complementary
#AF499A #67AF49 #49AF91
monochromatic
#59254E #843774 #AF499A #C471B3 #D69CCA

Accessibility & contrast

On white

4.95
#AF499A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#AF499A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF499A
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF499A#FFFFFF#000000##FFFFFF
##AF499A1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A669D
Deuteranopia (green-blind)
#697697
Tritanopia (blue-blind)
#B74E6B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af499a;
/* rgb */ color: rgb(175, 73, 154);
/* oklch */ color: oklch(56.7% 0.164 336.3);
Tailwind
colors: {
  custom: {
    50: '#c981b8',
    500: '#af499a',
    950: '#000000',
  },
}
SCSS
$custom: #af499a;
$custom-light: #c981b8;
$custom-dark: #000000;
JSON
{
  "hex": "#af499a",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 154
  },
  "hsl": {
    "h": 312.353,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56658,
    "c": 0.16409,
    "h": 336.3
  },
  "luminance": 0.16212
}

Semantic roles & 50–950 ramp

primary
#AF499A
secondary
#91C29B
accent
#D17057
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B11
muted
#827C80

Preview Lab

Preview with #AF499A

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

Preview Lab → · Contrast checker → · Palette generator →

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