#AF4997#AF4997

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

Color values

HEX#AF4997
RGBrgb(175, 73, 151)
HSLhsl(314, 41%, 49%)
HSVhsv(314, 58%, 69%)
CMYKcmyk(0%, 58.3%, 13.7%, 31.4%)
CIE-LABlab(47.13, 51.01, -22.78)
CIE-LCHlch(47.13, 55.87, 335.94°)
OKLaboklab(56.52% 0.1496 -0.0615)
OKLCHoklch(56.52% 0.162 337.6)
XYZxyz(25.6480, 16.1154, 31.0319)
Luminance0.1611 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4997 #49AF61
analogous
#9449AF #AF4997 #AF4964
triadic
#AF4997 #97AF49 #4997AF
tetradic
#AF4997 #AF9449 #49AF61 #4964AF
square
#AF4997 #AF9449 #49AF61 #4964AF
split-complementary
#AF4997 #64AF49 #49AF94
monochromatic
#59254C #843772 #AF4997 #C471B0 #D69CC8

Accessibility & contrast

On white

4.97
#AF4997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF4997
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4997#FFFFFF#000000##FFFFFF
##AF49971.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af4997;
/* rgb */ color: rgb(175, 73, 151);
/* oklch */ color: oklch(56.5% 0.162 337.6);
Tailwind
colors: {
  custom: {
    50: '#ca81b5',
    500: '#af4997',
    950: '#000000',
  },
}
SCSS
$custom: #af4997;
$custom-light: #ca81b5;
$custom-dark: #000000;
JSON
{
  "hex": "#af4997",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 151
  },
  "hsl": {
    "h": 314.118,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56521,
    "c": 0.1618,
    "h": 337.6
  },
  "luminance": 0.16113
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF4997

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

Preview Lab → · Contrast checker → · Palette generator →

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