#AF2572#AF2572

#AF2572 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.3% C 0.185 H 351.9°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#AF2572
RGBrgb(175, 37, 114)
HSLhsl(327, 65%, 42%)
HSVhsv(327, 79%, 69%)
CMYKcmyk(0%, 78.9%, 34.9%, 31.4%)
CIE-LABlab(40.66, 59.85, -10.09)
CIE-LCHlch(40.66, 60.69, 350.43°)
OKLaboklab(51.3% 0.1836 -0.026)
OKLCHoklch(51.3% 0.185 351.9)
XYZxyz(21.3793, 11.6546, 17.0400)
Luminance0.1165 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2572 #25AF62
analogous
#A725AF #AF2572 #AF252D
triadic
#AF2572 #72AF25 #2572AF
tetradic
#AF2572 #AFA725 #25AF62 #252DAF
square
#AF2572 #AFA725 #25AF62 #252DAF
split-complementary
#AF2572 #2DAF25 #25AFA7
monochromatic
#4A1030 #7C1A51 #AF2572 #D63C92 #E06EAE

Accessibility & contrast

On white

6.31
#AF2572 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#AF2572 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2572
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2572#FFFFFF#000000##FFFFFF
##AF25721.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5074
Deuteranopia (green-blind)
#67696F
Tritanopia (blue-blind)
#BD1749
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2572;
/* rgb */ color: rgb(175, 37, 114);
/* oklch */ color: oklch(51.3% 0.185 351.9);
Tailwind
colors: {
  custom: {
    50: '#cc6f9a',
    500: '#af2572',
    950: '#000000',
  },
}
SCSS
$custom: #af2572;
$custom-light: #cc6f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#af2572",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 114
  },
  "hsl": {
    "h": 326.522,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51302,
    "c": 0.18548,
    "h": 351.9
  },
  "luminance": 0.11652
}

Semantic roles & 50–950 ramp

primary
#AF2572
secondary
#69C792
accent
#E88A40
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #AF2572

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

Preview Lab → · Contrast checker → · Palette generator →

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