#AF4372#AF4372

#AF4372 is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.3% C 0.149 H 356.2°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#AF4372
RGBrgb(175, 67, 114)
HSLhsl(334, 45%, 47%)
HSVhsv(334, 62%, 69%)
CMYKcmyk(0%, 61.7%, 34.9%, 31.4%)
CIE-LABlab(44.72, 48.59, -4.02)
CIE-LCHlch(44.72, 48.75, 355.27°)
OKLaboklab(54.29% 0.1482 -0.01)
OKLCHoklch(54.29% 0.149 356.2)
XYZxyz(22.7248, 14.3456, 17.4885)
Luminance0.1434 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4372 #43AF80
analogous
#AF43A8 #AF4372 #AF4A43
triadic
#AF4372 #72AF43 #4372AF
tetradic
#AF4372 #A8AF43 #43AF80 #4A43AF
square
#AF4372 #A8AF43 #43AF80 #4A43AF
split-complementary
#AF4372 #43AF4A #43A8AF
monochromatic
#562138 #833255 #AF4372 #C66992 #D796B2

Accessibility & contrast

On white

5.43
#AF4372 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#AF4372 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4372
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4372#FFFFFF#000000##FFFFFF
##AF43721.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555D73
Deuteranopia (green-blind)
#72716F
Tritanopia (blue-blind)
#BC3B56
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af4372;
/* rgb */ color: rgb(175, 67, 114);
/* oklch */ color: oklch(54.3% 0.149 356.2);
Tailwind
colors: {
  custom: {
    50: '#cb7d9a',
    500: '#af4372',
    950: '#000000',
  },
}
SCSS
$custom: #af4372;
$custom-light: #cb7d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#af4372",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 114
  },
  "hsl": {
    "h": 333.889,
    "s": 44.628,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54292,
    "c": 0.14855,
    "h": 356.2
  },
  "luminance": 0.14343
}

Semantic roles & 50–950 ramp

primary
#AF4372
secondary
#8BC2AA
accent
#D49C53
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF4372

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

Preview Lab → · Contrast checker → · Palette generator →

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