#AF2C72#AF2C72

#AF2C72 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.9% C 0.178 H 352.6°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#AF2C72
RGBrgb(175, 44, 114)
HSLhsl(328, 60%, 43%)
HSVhsv(328, 75%, 69%)
CMYKcmyk(0%, 74.9%, 34.9%, 31.4%)
CIE-LABlab(41.43, 57.68, -8.94)
CIE-LCHlch(41.43, 58.37, 351.19°)
OKLaboklab(51.86% 0.1768 -0.023)
OKLCHoklch(51.86% 0.178 352.6)
XYZxyz(21.6184, 12.1328, 17.1197)
Luminance0.1213 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C72 #2CAF69
analogous
#AA2CAF #AF2C72 #AF2C31
triadic
#AF2C72 #72AF2C #2C72AF
tetradic
#AF2C72 #AFAA2C #2CAF69 #2C31AF
square
#AF2C72 #AFAA2C #2CAF69 #2C31AF
split-complementary
#AF2C72 #31AF2C #2CAFAA
monochromatic
#4D1332 #7E2052 #AF2C72 #D14791 #DD78AE

Accessibility & contrast

On white

6.13
#AF2C72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#AF2C72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2C72
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C72#FFFFFF#000000##FFFFFF
##AF2C721.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445374
Deuteranopia (green-blind)
#696A6F
Tritanopia (blue-blind)
#BD204B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af2c72;
/* rgb */ color: rgb(175, 44, 114);
/* oklch */ color: oklch(51.9% 0.178 352.6);
Tailwind
colors: {
  custom: {
    50: '#cb719a',
    500: '#af2c72',
    950: '#000000',
  },
}
SCSS
$custom: #af2c72;
$custom-light: #cb719a;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c72",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 114
  },
  "hsl": {
    "h": 327.939,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5186,
    "c": 0.17828,
    "h": 352.6
  },
  "luminance": 0.1213
}

Semantic roles & 50–950 ramp

primary
#AF2C72
secondary
#72C599
accent
#E38E45
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF2C72

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

Preview Lab → · Contrast checker → · Palette generator →

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