#AF4E71#AF4E71

#AF4E71 is a mid, vivid pink. Relative luminance 0.158; OKLCH L 55.7% C 0.132 H 359.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#AF4E71
RGBrgb(175, 78, 113)
HSLhsl(338, 38%, 50%)
HSVhsv(338, 55%, 69%)
CMYKcmyk(0%, 55.4%, 35.4%, 31.4%)
CIE-LABlab(46.65, 43.25, -0.57)
CIE-LCHlch(46.65, 43.25, 359.25°)
OKLaboklab(55.72% 0.1316 -0.0009)
OKLCHoklch(55.72% 0.132 359.6)
XYZxyz(23.3854, 15.7573, 17.4295)
Luminance0.1575 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4E71 #4EAF8C
analogous
#AF4EA1 #AF4E71 #AF5C4E
triadic
#AF4E71 #71AF4E #4E71AF
tetradic
#AF4E71 #A1AF4E #4EAF8C #5C4EAF
square
#AF4E71 #A1AF4E #4EAF8C #5C4EAF
split-complementary
#AF4E71 #4EAF5C #4EA1AF
monochromatic
#5A283A #853B56 #AF4E71 #C37893 #D6A2B5

Accessibility & contrast

On white

5.06
#AF4E71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#AF4E71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4E71
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4E71#FFFFFF#000000##FFFFFF
##AF4E711.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6372
Deuteranopia (green-blind)
#77756F
Tritanopia (blue-blind)
#BC465B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af4e71;
/* rgb */ color: rgb(175, 78, 113);
/* oklch */ color: oklch(55.7% 0.132 359.6);
Tailwind
colors: {
  custom: {
    50: '#ca8399',
    500: '#af4e71',
    950: '#000000',
  },
}
SCSS
$custom: #af4e71;
$custom-light: #ca8399;
$custom-dark: #000000;
JSON
{
  "hex": "#af4e71",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 113
  },
  "hsl": {
    "h": 338.351,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55721,
    "c": 0.13164,
    "h": 359.6
  },
  "luminance": 0.15755
}

Semantic roles & 50–950 ramp

primary
#AF4E71
secondary
#96C3B3
accent
#CEA45A
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E

Preview Lab

Preview with #AF4E71

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

Preview Lab → · Contrast checker → · Palette generator →

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