#AF3572#AF3572

#AF3572 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.7% C 0.168 H 353.7°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#AF3572
RGBrgb(175, 53, 114)
HSLhsl(330, 54%, 45%)
HSVhsv(330, 70%, 69%)
CMYKcmyk(0%, 69.7%, 34.9%, 31.4%)
CIE-LABlab(42.58, 54.46, -7.21)
CIE-LCHlch(42.58, 54.94, 352.46°)
OKLaboklab(52.71% 0.1666 -0.0184)
OKLCHoklch(52.71% 0.168 353.7)
XYZxyz(21.9908, 12.8776, 17.2439)
Luminance0.1288 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3572 #35AF72
analogous
#AF35AF #AF3572 #AF3535
triadic
#AF3572 #72AF35 #3572AF
tetradic
#AF3572 #AFAF35 #35AF72 #3535AF
square
#AF3572 #AFAF35 #35AF72 #3535AF
split-complementary
#AF3572 #35AF35 #35AFAF
monochromatic
#511935 #802753 #AF3572 #CC5691 #DA85AF

Accessibility & contrast

On white

5.87
#AF3572 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AF3572 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3572
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3572#FFFFFF#000000##FFFFFF
##AF35721.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5674
Deuteranopia (green-blind)
#6C6D6F
Tritanopia (blue-blind)
#BC2B4F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af3572;
/* rgb */ color: rgb(175, 53, 114);
/* oklch */ color: oklch(52.7% 0.168 353.7);
Tailwind
colors: {
  custom: {
    50: '#cb769a',
    500: '#af3572',
    950: '#000000',
  },
}
SCSS
$custom: #af3572;
$custom-light: #cb769a;
$custom-dark: #000000;
JSON
{
  "hex": "#af3572",
  "rgb": {
    "r": 175,
    "g": 53,
    "b": 114
  },
  "hsl": {
    "h": 330,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52705,
    "c": 0.16764,
    "h": 353.7
  },
  "luminance": 0.12875
}

Semantic roles & 50–950 ramp

primary
#AF3572
secondary
#7CC4A0
accent
#DD944B
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF3572

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

Preview Lab → · Contrast checker → · Palette generator →

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