#AF5372#AF5372

#AF5372 is a mid, vivid pink. Relative luminance 0.165; OKLCH L 56.5% C 0.124 H 0.6°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AF5372
RGBrgb(175, 83, 114)
HSLhsl(340, 37%, 51%)
HSVhsv(340, 53%, 69%)
CMYKcmyk(0%, 52.6%, 34.9%, 31.4%)
CIE-LABlab(47.65, 40.86, 0.27)
CIE-LCHlch(47.65, 40.86, 0.38°)
OKLaboklab(56.47% 0.1242 0.0012)
OKLCHoklch(56.47% 0.124 0.6)
XYZxyz(23.8109, 16.5177, 17.8506)
Luminance0.1651 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5372 #53AF90
analogous
#AF53A0 #AF5372 #AF6253
triadic
#AF5372 #72AF53 #5372AF
tetradic
#AF5372 #A0AF53 #53AF90 #6253AF
square
#AF5372 #A0AF53 #53AF90 #6253AF
split-complementary
#AF5372 #53AF62 #53A0AF
monochromatic
#5D2B3C #863E57 #AF5372 #C27D94 #D6A7B6

Accessibility & contrast

On white

4.88
#AF5372 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#AF5372 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5372
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5372#FFFFFF#000000##FFFFFF
##AF53721.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#626673
Deuteranopia (green-blind)
#7A7870
Tritanopia (blue-blind)
#BC4C5E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af5372;
/* rgb */ color: rgb(175, 83, 114);
/* oklch */ color: oklch(56.5% 0.124 0.6);
Tailwind
colors: {
  custom: {
    50: '#ca869a',
    500: '#af5372',
    950: '#000000',
  },
}
SCSS
$custom: #af5372;
$custom-light: #ca869a;
$custom-dark: #000000;
JSON
{
  "hex": "#af5372",
  "rgb": {
    "r": 175,
    "g": 83,
    "b": 114
  },
  "hsl": {
    "h": 339.783,
    "s": 36.508,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56475,
    "c": 0.12424,
    "h": 0.6
  },
  "luminance": 0.16515
}

Semantic roles & 50–950 ramp

primary
#AF5372
secondary
#9AC3B6
accent
#CDA65B
background
#FCF8F9
surface
#F9F0F2
border
#D2CBCC
text
#140B0E
muted
#827C7E

Preview Lab

Preview with #AF5372

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

Preview Lab → · Contrast checker → · Palette generator →

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