#AF4477#AF4477

#AF4477 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.6% C 0.149 H 353.5°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#AF4477
RGBrgb(175, 68, 119)
HSLhsl(331, 44%, 48%)
HSVhsv(331, 61%, 69%)
CMYKcmyk(0%, 61.1%, 32%, 31.4%)
CIE-LABlab(45.06, 48.75, -6.59)
CIE-LCHlch(45.06, 49.19, 352.31°)
OKLaboklab(54.59% 0.1484 -0.0168)
OKLCHoklch(54.59% 0.149 353.5)
XYZxyz(23.0772, 14.5825, 19.0486)
Luminance0.1458 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4477 #44AF7C
analogous
#AF44AC #AF4477 #AF4744
triadic
#AF4477 #77AF44 #4477AF
tetradic
#AF4477 #ACAF44 #44AF7C #4744AF
square
#AF4477 #ACAF44 #44AF7C #4744AF
split-complementary
#AF4477 #44AF47 #44ACAF
monochromatic
#57223B #833359 #AF4477 #C56B96 #D797B5

Accessibility & contrast

On white

5.36
#AF4477 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#AF4477 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4477
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4477#FFFFFF#000000##FFFFFF
##AF44771.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545E79
Deuteranopia (green-blind)
#717274
Tritanopia (blue-blind)
#BC3E58
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af4477;
/* rgb */ color: rgb(175, 68, 119);
/* oklch */ color: oklch(54.6% 0.149 353.5);
Tailwind
colors: {
  custom: {
    50: '#ca7e9e',
    500: '#af4477',
    950: '#000000',
  },
}
SCSS
$custom: #af4477;
$custom-light: #ca7e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#af4477",
  "rgb": {
    "r": 175,
    "g": 68,
    "b": 119
  },
  "hsl": {
    "h": 331.402,
    "s": 44.033,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54592,
    "c": 0.14936,
    "h": 353.5
  },
  "luminance": 0.1458
}

Semantic roles & 50–950 ramp

primary
#AF4477
secondary
#8CC2A9
accent
#D49754
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF4477

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

Preview Lab → · Contrast checker → · Palette generator →

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