#AF3A77#AF3A77

#AF3A77 is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.4% C 0.164 H 351.9°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#AF3A77
RGBrgb(175, 58, 119)
HSLhsl(329, 50%, 46%)
HSVhsv(329, 67%, 69%)
CMYKcmyk(0%, 66.9%, 32%, 31.4%)
CIE-LABlab(43.47, 53.08, -8.96)
CIE-LCHlch(43.47, 53.83, 350.42°)
OKLaboklab(53.42% 0.1619 -0.0231)
OKLCHoklch(53.42% 0.164 351.9)
XYZxyz(22.5232, 13.4744, 18.8639)
Luminance0.1347 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3A77 #3AAF72
analogous
#AC3AAF #AF3A77 #AF3A3C
triadic
#AF3A77 #77AF3A #3A77AF
tetradic
#AF3A77 #AFAC3A #3AAF72 #3A3CAF
square
#AF3A77 #AFAC3A #3AAF72 #3A3CAF
split-complementary
#AF3A77 #3CAF3A #3AAFAC
monochromatic
#531C38 #812B58 #AF3A77 #C95D95 #D98BB3

Accessibility & contrast

On white

5.68
#AF3A77 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#AF3A77 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3A77
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3A77#FFFFFF#000000##FFFFFF
##AF3A771.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5979
Deuteranopia (green-blind)
#6D6E74
Tritanopia (blue-blind)
#BC3353
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af3a77;
/* rgb */ color: rgb(175, 58, 119);
/* oklch */ color: oklch(53.4% 0.164 351.9);
Tailwind
colors: {
  custom: {
    50: '#cb789e',
    500: '#af3a77',
    950: '#000000',
  },
}
SCSS
$custom: #af3a77;
$custom-light: #cb789e;
$custom-dark: #000000;
JSON
{
  "hex": "#af3a77",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 119
  },
  "hsl": {
    "h": 328.718,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53419,
    "c": 0.16352,
    "h": 351.9
  },
  "luminance": 0.13472
}

Semantic roles & 50–950 ramp

primary
#AF3A77
secondary
#82C3A1
accent
#DA914E
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AF3A77

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

Preview Lab → · Contrast checker → · Palette generator →

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