#AF2D72#AF2D72

#AF2D72 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.9% C 0.177 H 352.7°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#AF2D72
RGBrgb(175, 45, 114)
HSLhsl(328, 59%, 43%)
HSVhsv(328, 74%, 69%)
CMYKcmyk(0%, 74.3%, 34.9%, 31.4%)
CIE-LABlab(41.55, 57.35, -8.76)
CIE-LCHlch(41.55, 58.01, 351.32°)
OKLaboklab(51.95% 0.1757 -0.0225)
OKLCHoklch(51.95% 0.177 352.7)
XYZxyz(21.6561, 12.2082, 17.1323)
Luminance0.1221 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2D72 #2DAF6A
analogous
#AB2DAF #AF2D72 #AF2D31
triadic
#AF2D72 #72AF2D #2D72AF
tetradic
#AF2D72 #AFAB2D #2DAF6A #2D31AF
square
#AF2D72 #AFAB2D #2DAF6A #2D31AF
split-complementary
#AF2D72 #31AF2D #2DAFAB
monochromatic
#4E1433 #7E2052 #AF2D72 #D04991 #DD7AAE

Accessibility & contrast

On white

6.10
#AF2D72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AF2D72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2D72
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2D72#FFFFFF#000000##FFFFFF
##AF2D721.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af2d72;
/* rgb */ color: rgb(175, 45, 114);
/* oklch */ color: oklch(51.9% 0.177 352.7);
Tailwind
colors: {
  custom: {
    50: '#cb729a',
    500: '#af2d72',
    950: '#000000',
  },
}
SCSS
$custom: #af2d72;
$custom-light: #cb729a;
$custom-dark: #000000;
JSON
{
  "hex": "#af2d72",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 114
  },
  "hsl": {
    "h": 328.154,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51947,
    "c": 0.17716,
    "h": 352.7
  },
  "luminance": 0.12206
}

Semantic roles & 50–950 ramp

primary
#AF2D72
secondary
#73C599
accent
#E28F46
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF2D72

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

Preview Lab → · Contrast checker → · Palette generator →

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