#AF4972#AF4972

#AF4972 is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.1% C 0.140 H 357.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#AF4972
RGBrgb(175, 73, 114)
HSLhsl(336, 41%, 49%)
HSVhsv(336, 58%, 69%)
CMYKcmyk(0%, 58.3%, 34.9%, 31.4%)
CIE-LABlab(45.77, 45.80, -2.48)
CIE-LCHlch(45.77, 45.86, 356.90°)
OKLaboklab(55.07% 0.1395 -0.0059)
OKLCHoklch(55.07% 0.14 357.6)
XYZxyz(23.1002, 15.0963, 17.6137)
Luminance0.1509 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4972 #49AF86
analogous
#AF49A5 #AF4972 #AF5349
triadic
#AF4972 #72AF49 #4972AF
tetradic
#AF4972 #A5AF49 #49AF86 #5349AF
square
#AF4972 #A5AF49 #49AF86 #5349AF
split-complementary
#AF4972 #49AF53 #49A5AF
monochromatic
#59253A #843756 #AF4972 #C47193 #D69CB4

Accessibility & contrast

On white

5.23
#AF4972 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#AF4972 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4972
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4972#FFFFFF#000000##FFFFFF
##AF49721.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596073
Deuteranopia (green-blind)
#757370
Tritanopia (blue-blind)
#BC4159
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af4972;
/* rgb */ color: rgb(175, 73, 114);
/* oklch */ color: oklch(55.1% 0.140 357.6);
Tailwind
colors: {
  custom: {
    50: '#ca809a',
    500: '#af4972',
    950: '#000000',
  },
}
SCSS
$custom: #af4972;
$custom-light: #ca809a;
$custom-dark: #000000;
JSON
{
  "hex": "#af4972",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 114
  },
  "hsl": {
    "h": 335.882,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55067,
    "c": 0.13966,
    "h": 357.6
  },
  "luminance": 0.15094
}

Semantic roles & 50–950 ramp

primary
#AF4972
secondary
#91C2AF
accent
#D1A057
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E

Preview Lab

Preview with #AF4972

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

Preview Lab → · Contrast checker → · Palette generator →

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