#AF4E72#AF4E72

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

Color values

HEX#AF4E72
RGBrgb(175, 78, 114)
HSLhsl(338, 38%, 50%)
HSVhsv(338, 55%, 69%)
CMYKcmyk(0%, 55.4%, 34.9%, 31.4%)
CIE-LABlab(46.68, 43.37, -1.13)
CIE-LCHlch(46.68, 43.38, 358.50°)
OKLaboklab(55.75% 0.132 -0.0024)
OKLCHoklch(55.75% 0.132 359)
XYZxyz(23.4420, 15.7800, 17.7276)
Luminance0.1578 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4E72 #4EAF8B
analogous
#AF4EA3 #AF4E72 #AF5B4E
triadic
#AF4E72 #72AF4E #4E72AF
tetradic
#AF4E72 #A3AF4E #4EAF8B #5B4EAF
square
#AF4E72 #A3AF4E #4EAF8B #5B4EAF
split-complementary
#AF4E72 #4EAF5B #4EA3AF
monochromatic
#5A283B #853B56 #AF4E72 #C37893 #D6A2B5

Accessibility & contrast

On white

5.05
#AF4E72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#AF4E72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4E72
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4E72#FFFFFF#000000##FFFFFF
##AF4E721.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6373
Deuteranopia (green-blind)
#777570
Tritanopia (blue-blind)
#BC475C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af4e72;
/* rgb */ color: rgb(175, 78, 114);
/* oklch */ color: oklch(55.8% 0.132 359.0);
Tailwind
colors: {
  custom: {
    50: '#ca839a',
    500: '#af4e72',
    950: '#000000',
  },
}
SCSS
$custom: #af4e72;
$custom-light: #ca839a;
$custom-dark: #000000;
JSON
{
  "hex": "#af4e72",
  "rgb": {
    "r": 175,
    "g": 78,
    "b": 114
  },
  "hsl": {
    "h": 337.732,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55753,
    "c": 0.13202,
    "h": 359
  },
  "luminance": 0.15778
}

Semantic roles & 50–950 ramp

primary
#AF4E72
secondary
#96C3B2
accent
#CEA35A
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E

Preview Lab

Preview with #AF4E72

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

Preview Lab → · Contrast checker → · Palette generator →

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