#AF499B#AF499B

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

Color values

HEX#AF499B
RGBrgb(175, 73, 155)
HSLhsl(312, 41%, 49%)
HSVhsv(312, 58%, 69%)
CMYKcmyk(0%, 58.3%, 11.4%, 31.4%)
CIE-LABlab(47.30, 51.65, -24.90)
CIE-LCHlch(47.30, 57.34, 334.26°)
OKLaboklab(56.7% 0.1504 -0.0675)
OKLCHoklch(56.7% 0.165 335.8)
XYZxyz(25.9783, 16.2476, 32.7718)
Luminance0.1625 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF499B #49AF5D
analogous
#9049AF #AF499B #AF4968
triadic
#AF499B #9BAF49 #499BAF
tetradic
#AF499B #AF9049 #49AF5D #4968AF
square
#AF499B #AF9049 #49AF5D #4968AF
split-complementary
#AF499B #68AF49 #49AF90
monochromatic
#59254E #843775 #AF499B #C471B4 #D69CCB

Accessibility & contrast

On white

4.94
#AF499B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#AF499B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF499B
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF499B#FFFFFF#000000##FFFFFF
##AF499B1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af499b;
/* rgb */ color: rgb(175, 73, 155);
/* oklch */ color: oklch(56.7% 0.165 335.8);
Tailwind
colors: {
  custom: {
    50: '#c981b8',
    500: '#af499b',
    950: '#000000',
  },
}
SCSS
$custom: #af499b;
$custom-light: #c981b8;
$custom-dark: #000000;
JSON
{
  "hex": "#af499b",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 155
  },
  "hsl": {
    "h": 311.765,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56704,
    "c": 0.16486,
    "h": 335.8
  },
  "luminance": 0.16246
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF499B

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

Preview Lab → · Contrast checker → · Palette generator →

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