#AF3272#AF3272

#AF3272 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.4% C 0.171 H 353.3°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#AF3272
RGBrgb(175, 50, 114)
HSLhsl(329, 56%, 44%)
HSVhsv(329, 71%, 69%)
CMYKcmyk(0%, 71.4%, 34.9%, 31.4%)
CIE-LABlab(42.17, 55.59, -7.82)
CIE-LCHlch(42.17, 56.13, 352.00°)
OKLaboklab(52.41% 0.1702 -0.02)
OKLCHoklch(52.41% 0.171 353.3)
XYZxyz(21.8584, 12.6126, 17.1997)
Luminance0.1261 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3272 #32AF6F
analogous
#AE32AF #AF3272 #AF3233
triadic
#AF3272 #72AF32 #3272AF
tetradic
#AF3272 #AFAE32 #32AF6F #3233AF
square
#AF3272 #AFAE32 #32AF6F #3233AF
split-complementary
#AF3272 #33AF32 #32AFAE
monochromatic
#501734 #7F2453 #AF3272 #CD5191 #DB81AF

Accessibility & contrast

On white

5.96
#AF3272 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AF3272 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3272
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3272#FFFFFF#000000##FFFFFF
##AF32721.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485574
Deuteranopia (green-blind)
#6B6C6F
Tritanopia (blue-blind)
#BC284E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af3272;
/* rgb */ color: rgb(175, 50, 114);
/* oklch */ color: oklch(52.4% 0.171 353.3);
Tailwind
colors: {
  custom: {
    50: '#cb749a',
    500: '#af3272',
    950: '#000000',
  },
}
SCSS
$custom: #af3272;
$custom-light: #cb749a;
$custom-dark: #000000;
JSON
{
  "hex": "#af3272",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 114
  },
  "hsl": {
    "h": 329.28,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52408,
    "c": 0.17135,
    "h": 353.3
  },
  "luminance": 0.1261
}

Semantic roles & 50–950 ramp

primary
#AF3272
secondary
#79C49D
accent
#DF9249
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF3272

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

Preview Lab → · Contrast checker → · Palette generator →

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