#AF4577#AF4577

#AF4577 is a mid, vivid pink. Relative luminance 0.147; OKLCH L 54.7% C 0.148 H 353.7°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#AF4577
RGBrgb(175, 69, 119)
HSLhsl(332, 43%, 48%)
HSVhsv(332, 61%, 69%)
CMYKcmyk(0%, 60.6%, 32%, 31.4%)
CIE-LABlab(45.23, 48.29, -6.33)
CIE-LCHlch(45.23, 48.71, 352.53°)
OKLaboklab(54.72% 0.147 -0.0161)
OKLCHoklch(54.72% 0.148 353.7)
XYZxyz(23.1382, 14.7045, 19.0689)
Luminance0.1470 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4577 #45AF7D
analogous
#AF45AC #AF4577 #AF4845
triadic
#AF4577 #77AF45 #4577AF
tetradic
#AF4577 #ACAF45 #45AF7D #4845AF
square
#AF4577 #ACAF45 #45AF7D #4845AF
split-complementary
#AF4577 #45AF48 #45ACAF
monochromatic
#57223B #833459 #AF4577 #C56C96 #D698B5

Accessibility & contrast

On white

5.33
#AF4577 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#AF4577 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4577
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4577#FFFFFF#000000##FFFFFF
##AF45771.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555F79
Deuteranopia (green-blind)
#717274
Tritanopia (blue-blind)
#BC3F59
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af4577;
/* rgb */ color: rgb(175, 69, 119);
/* oklch */ color: oklch(54.7% 0.148 353.7);
Tailwind
colors: {
  custom: {
    50: '#ca7e9e',
    500: '#af4577',
    950: '#000000',
  },
}
SCSS
$custom: #af4577;
$custom-light: #ca7e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#af4577",
  "rgb": {
    "r": 175,
    "g": 69,
    "b": 119
  },
  "hsl": {
    "h": 331.698,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54718,
    "c": 0.14787,
    "h": 353.7
  },
  "luminance": 0.14702
}

Semantic roles & 50–950 ramp

primary
#AF4577
secondary
#8DC2A9
accent
#D39755
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF4577

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

Preview Lab → · Contrast checker → · Palette generator →

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