#AF4996#AF4996

#AF4996 is a mid, vivid pink. Relative luminance 0.161; OKLCH L 56.5% C 0.161 H 338.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#AF4996
RGBrgb(175, 73, 150)
HSLhsl(315, 41%, 49%)
HSVhsv(315, 58%, 69%)
CMYKcmyk(0%, 58.3%, 14.3%, 31.4%)
CIE-LABlab(47.08, 50.85, -22.25)
CIE-LCHlch(47.08, 55.51, 336.37°)
OKLaboklab(56.48% 0.1494 -0.06)
OKLCHoklch(56.48% 0.161 338.1)
XYZxyz(25.5671, 16.0831, 30.6060)
Luminance0.1608 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4996 #49AF62
analogous
#9549AF #AF4996 #AF4963
triadic
#AF4996 #96AF49 #4996AF
tetradic
#AF4996 #AF9549 #49AF62 #4963AF
square
#AF4996 #AF9549 #49AF62 #4963AF
split-complementary
#AF4996 #63AF49 #49AF95
monochromatic
#59254C #843771 #AF4996 #C471B0 #D69CC8

Accessibility & contrast

On white

4.98
#AF4996 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#AF4996 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4996
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4996#FFFFFF#000000##FFFFFF
##AF49961.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6698
Deuteranopia (green-blind)
#6A7593
Tritanopia (blue-blind)
#B84D69
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af4996;
/* rgb */ color: rgb(175, 73, 150);
/* oklch */ color: oklch(56.5% 0.161 338.1);
Tailwind
colors: {
  custom: {
    50: '#ca81b5',
    500: '#af4996',
    950: '#000000',
  },
}
SCSS
$custom: #af4996;
$custom-light: #ca81b5;
$custom-dark: #000000;
JSON
{
  "hex": "#af4996",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 150
  },
  "hsl": {
    "h": 314.706,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56476,
    "c": 0.16105,
    "h": 338.1
  },
  "luminance": 0.16081
}

Semantic roles & 50–950 ramp

primary
#AF4996
secondary
#91C29D
accent
#D17557
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B11
muted
#827C80

Preview Lab

Preview with #AF4996

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

Preview Lab → · Contrast checker → · Palette generator →

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