#AF4777#AF4777

#AF4777 is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.0% C 0.145 H 354.1°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#AF4777
RGBrgb(175, 71, 119)
HSLhsl(332, 42%, 48%)
HSVhsv(332, 59%, 69%)
CMYKcmyk(0%, 59.4%, 32%, 31.4%)
CIE-LABlab(45.57, 47.37, -5.82)
CIE-LCHlch(45.57, 47.72, 353.00°)
OKLaboklab(54.97% 0.1441 -0.0148)
OKLCHoklch(54.97% 0.145 354.1)
XYZxyz(23.2633, 14.9547, 19.1106)
Luminance0.1495 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4777 #47AF7F
analogous
#AF47AB #AF4777 #AF4B47
triadic
#AF4777 #77AF47 #4777AF
tetradic
#AF4777 #ABAF47 #47AF7F #4B47AF
square
#AF4777 #ABAF47 #47AF7F #4B47AF
split-complementary
#AF4777 #47AF4B #47ABAF
monochromatic
#58243C #833559 #AF4777 #C46F96 #D69AB6

Accessibility & contrast

On white

5.26
#AF4777 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#AF4777 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4777
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4777#FFFFFF#000000##FFFFFF
##AF47771.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566078
Deuteranopia (green-blind)
#727375
Tritanopia (blue-blind)
#BC415A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af4777;
/* rgb */ color: rgb(175, 71, 119);
/* oklch */ color: oklch(55.0% 0.145 354.1);
Tailwind
colors: {
  custom: {
    50: '#ca7f9e',
    500: '#af4777',
    950: '#000000',
  },
}
SCSS
$custom: #af4777;
$custom-light: #ca7f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#af4777",
  "rgb": {
    "r": 175,
    "g": 71,
    "b": 119
  },
  "hsl": {
    "h": 332.308,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54975,
    "c": 0.14488,
    "h": 354.1
  },
  "luminance": 0.14952
}

Semantic roles & 50–950 ramp

primary
#AF4777
secondary
#8FC2AB
accent
#D29956
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF4777

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

Preview Lab → · Contrast checker → · Palette generator →

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