#AF4773#AF4773

#AF4773 is a mid, vivid pink. Relative luminance 0.149; OKLCH L 54.8% C 0.143 H 356.5°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#AF4773
RGBrgb(175, 71, 115)
HSLhsl(335, 42%, 48%)
HSVhsv(335, 59%, 69%)
CMYKcmyk(0%, 59.4%, 34.3%, 31.4%)
CIE-LABlab(45.44, 46.87, -3.57)
CIE-LCHlch(45.44, 47.00, 355.64°)
OKLaboklab(54.84% 0.1428 -0.0088)
OKLCHoklch(54.84% 0.143 356.5)
XYZxyz(23.0281, 14.8606, 17.8720)
Luminance0.1486 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4773 #47AF83
analogous
#AF47A7 #AF4773 #AF4F47
triadic
#AF4773 #73AF47 #4773AF
tetradic
#AF4773 #A7AF47 #47AF83 #4F47AF
square
#AF4773 #A7AF47 #47AF83 #4F47AF
split-complementary
#AF4773 #47AF4F #47A7AF
monochromatic
#58243A #833556 #AF4773 #C46F93 #D69AB4

Accessibility & contrast

On white

5.29
#AF4773 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#AF4773 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4773
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4773#FFFFFF#000000##FFFFFF
##AF47731.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585F74
Deuteranopia (green-blind)
#737371
Tritanopia (blue-blind)
#BC3F58
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af4773;
/* rgb */ color: rgb(175, 71, 115);
/* oklch */ color: oklch(54.8% 0.143 356.5);
Tailwind
colors: {
  custom: {
    50: '#ca7f9b',
    500: '#af4773',
    950: '#000000',
  },
}
SCSS
$custom: #af4773;
$custom-light: #ca7f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#af4773",
  "rgb": {
    "r": 175,
    "g": 71,
    "b": 115
  },
  "hsl": {
    "h": 334.615,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54836,
    "c": 0.14308,
    "h": 356.5
  },
  "luminance": 0.14858
}

Semantic roles & 50–950 ramp

primary
#AF4773
secondary
#8FC2AD
accent
#D29D56
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF4773

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

Preview Lab → · Contrast checker → · Palette generator →

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