#AF4A72#AF4A72

#AF4A72 is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.2% C 0.138 H 357.8°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#AF4A72
RGBrgb(175, 74, 114)
HSLhsl(336, 41%, 49%)
HSVhsv(336, 58%, 69%)
CMYKcmyk(0%, 57.7%, 34.9%, 31.4%)
CIE-LABlab(45.95, 45.32, -2.22)
CIE-LCHlch(45.95, 45.37, 357.20°)
OKLaboklab(55.2% 0.1381 -0.0052)
OKLCHoklch(55.2% 0.138 357.8)
XYZxyz(23.1664, 15.2288, 17.6357)
Luminance0.1523 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4A72 #4AAF87
analogous
#AF4AA5 #AF4A72 #AF554A
triadic
#AF4A72 #72AF4A #4A72AF
tetradic
#AF4A72 #A5AF4A #4AAF87 #554AAF
square
#AF4A72 #A5AF4A #4AAF87 #554AAF
split-complementary
#AF4A72 #4AAF55 #4AA5AF
monochromatic
#59263A #843856 #AF4A72 #C47393 #D69EB4

Accessibility & contrast

On white

5.19
#AF4A72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#AF4A72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4A72
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4A72#FFFFFF#000000##FFFFFF
##AF4A721.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6173
Deuteranopia (green-blind)
#757470
Tritanopia (blue-blind)
#BC4259
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af4a72;
/* rgb */ color: rgb(175, 74, 114);
/* oklch */ color: oklch(55.2% 0.138 357.8);
Tailwind
colors: {
  custom: {
    50: '#ca819a',
    500: '#af4a72',
    950: '#000000',
  },
}
SCSS
$custom: #af4a72;
$custom-light: #ca819a;
$custom-dark: #000000;
JSON
{
  "hex": "#af4a72",
  "rgb": {
    "r": 175,
    "g": 74,
    "b": 114
  },
  "hsl": {
    "h": 336.238,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55201,
    "c": 0.13815,
    "h": 357.8
  },
  "luminance": 0.15226
}

Semantic roles & 50–950 ramp

primary
#AF4A72
secondary
#92C2AF
accent
#D0A057
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E

Preview Lab

Preview with #AF4A72

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

Preview Lab → · Contrast checker → · Palette generator →

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