#AF5477#AF5477

#AF5477 is a mid, vivid pink. Relative luminance 0.168; OKLCH L 56.8% C 0.125 H 357.5°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#AF5477
RGBrgb(175, 84, 119)
HSLhsl(337, 36%, 51%)
HSVhsv(337, 52%, 69%)
CMYKcmyk(0%, 52%, 32%, 31.4%)
CIE-LABlab(47.99, 40.99, -2.24)
CIE-LCHlch(47.99, 41.05, 356.87°)
OKLaboklab(56.78% 0.1244 -0.0053)
OKLCHoklch(56.78% 0.125 357.5)
XYZxyz(24.1803, 16.7888, 19.4163)
Luminance0.1679 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5477 #54AF8C
analogous
#AF54A4 #AF5477 #AF5E54
triadic
#AF5477 #77AF54 #5477AF
tetradic
#AF5477 #A4AF54 #54AF8C #5E54AF
square
#AF5477 #A4AF54 #54AF8C #5E54AF
split-complementary
#AF5477 #54AF5E #54A4AF
monochromatic
#5D2C3F #873F5B #AF5477 #C37E98 #D6A7B9

Accessibility & contrast

On white

4.82
#AF5477 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#AF5477 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5477
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5477#FFFFFF#000000##FFFFFF
##AF54771.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#616878
Deuteranopia (green-blind)
#797875
Tritanopia (blue-blind)
#BB4E61
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af5477;
/* rgb */ color: rgb(175, 84, 119);
/* oklch */ color: oklch(56.8% 0.125 357.5);
Tailwind
colors: {
  custom: {
    50: '#ca879e',
    500: '#af5477',
    950: '#000000',
  },
}
SCSS
$custom: #af5477;
$custom-light: #ca879e;
$custom-dark: #000000;
JSON
{
  "hex": "#af5477",
  "rgb": {
    "r": 175,
    "g": 84,
    "b": 119
  },
  "hsl": {
    "h": 336.923,
    "s": 36.255,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56784,
    "c": 0.12455,
    "h": 357.5
  },
  "luminance": 0.16787
}

Semantic roles & 50–950 ramp

primary
#AF5477
secondary
#9BC4B4
accent
#CCA15C
background
#FCF8F9
surface
#F9F0F2
border
#D2CBCC
text
#140B0E
muted
#827C7E

Preview Lab

Preview with #AF5477

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

Preview Lab → · Contrast checker → · Palette generator →

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