#AF477A#AF477A

#AF477A is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.1% C 0.146 H 352.4°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#AF477A
RGBrgb(175, 71, 122)
HSLhsl(331, 42%, 48%)
HSVhsv(331, 59%, 69%)
CMYKcmyk(0%, 59.4%, 30.3%, 31.4%)
CIE-LABlab(45.67, 47.75, -7.50)
CIE-LCHlch(45.67, 48.34, 351.08°)
OKLaboklab(55.08% 0.1451 -0.0193)
OKLCHoklch(55.08% 0.146 352.4)
XYZxyz(23.4463, 15.0279, 20.0745)
Luminance0.1503 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF477A #47AF7C
analogous
#AF47AE #AF477A #AF4847
triadic
#AF477A #7AAF47 #477AAF
tetradic
#AF477A #AEAF47 #47AF7C #4847AF
square
#AF477A #AEAF47 #47AF7C #4847AF
split-complementary
#AF477A #47AF48 #47AEAF
monochromatic
#58243D #83355C #AF477A #C46F99 #D69AB8

Accessibility & contrast

On white

5.24
#AF477A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#AF477A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF477A
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF477A#FFFFFF#000000##FFFFFF
##AF477A1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55607C
Deuteranopia (green-blind)
#727378
Tritanopia (blue-blind)
#BB425B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af477a;
/* rgb */ color: rgb(175, 71, 122);
/* oklch */ color: oklch(55.1% 0.146 352.4);
Tailwind
colors: {
  custom: {
    50: '#ca7fa0',
    500: '#af477a',
    950: '#000000',
  },
}
SCSS
$custom: #af477a;
$custom-light: #ca7fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#af477a",
  "rgb": {
    "r": 175,
    "g": 71,
    "b": 122
  },
  "hsl": {
    "h": 330.577,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55083,
    "c": 0.14634,
    "h": 352.4
  },
  "luminance": 0.15026
}

Semantic roles & 50–950 ramp

primary
#AF477A
secondary
#8FC2A9
accent
#D29556
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF477A

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

Preview Lab → · Contrast checker → · Palette generator →

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